Loading src/MDB.java +4 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import java.util.HashMap; import java.util.Map; /** * A class represents the molecule database that works with the GUI * A class represents the molecule database that works with the GUI. */ public class MDB { Loading @@ -38,6 +38,9 @@ public class MDB { } outputTextArea.append("# of molecules: " + size + "\n\n"); if (size == 0) return; // if database is empty, exit early // Print the list of molecules outputTextArea.append("List of molecules: " + "\n\n"); for (Integer atomCount : this.db.keySet()) { Loading Loading
src/MDB.java +4 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import java.util.HashMap; import java.util.Map; /** * A class represents the molecule database that works with the GUI * A class represents the molecule database that works with the GUI. */ public class MDB { Loading @@ -38,6 +38,9 @@ public class MDB { } outputTextArea.append("# of molecules: " + size + "\n\n"); if (size == 0) return; // if database is empty, exit early // Print the list of molecules outputTextArea.append("List of molecules: " + "\n\n"); for (Integer atomCount : this.db.keySet()) { Loading