Loading src/GUI.java +1 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,7 @@ public class GUI extends JFrame { try (BufferedReader reader = new BufferedReader(new FileReader(moleculePath))) { moleculeName = reader.readLine(); // Read the first line to get the molecule name } catch (IOException ex) { System.err.println("Error reading the file: " + ex.getMessage()); outputTextArea.append("Error reading the file:" + ex.getMessage() + "\n\n"); Loading Loading
src/GUI.java +1 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,7 @@ public class GUI extends JFrame { try (BufferedReader reader = new BufferedReader(new FileReader(moleculePath))) { moleculeName = reader.readLine(); // Read the first line to get the molecule name } catch (IOException ex) { System.err.println("Error reading the file: " + ex.getMessage()); outputTextArea.append("Error reading the file:" + ex.getMessage() + "\n\n"); Loading