I am using a DAL and I am trying to populate a ComboBox with data from the DAL.
I am aware of how to do this when I am connecting to the database directly from the GUI code, however I am trying to use Classes so that I do not need to reconnect to the database every time I make a new method in the GUI code.
I use NetBeans IDE, is there a way to do this?