I have a text file with contents:
And I am loading I and II column to GUI using this code:
For III column case:
Everything works well with above code, but now I am facing problem with loading of inst#3 and inst#5 part, because they contain 2 line of string, as we don't add empty strings to ArrayList<String> inst, because by counting HashMap values, jButton1 adding SubPanels to jPanel2:
Setting up the JComboBox's and JTextFields by adding the data stored in the map:
I would like to ask how can I set the full text of inst#3 and inst#5 to jTextFields?
Any help is greatly appreciated.