Hello All,
OK, this is a continuation from my previous post. What I am trying to do is get the data (Item Name, Item Number, etc.) to display in my GUI's appropriate text fields (Item Number, Item Name, etc.). What I have for code so far is:
What I get in the output is:
Exception in
thread "main" java.lang.NullPointerException
at inventory.InventoryGUI.<init>(InventoryGUI.java:17)
at inventory.InventoryGUI.main(Inventory.java: 18)
I assume that the jCombobox1 is not getting the data from the inventory array list I created. Or, I am completely wrong again. Sorry if I missed a couple of lines that needed "shortening". I tried a couple of suggestions from the original post, but every one generates errors. Any help is much appreciated.