I am using Netbeans and have created a new JFrame (in design mode)
I have added a combo box which I want to populate with the results of a database query.
Does anyone have any code they can share which does that kind of thing?
alternatively can anybody advise me on how to go about doing it.
do I put the code that reads the database in the same 'class' that constructs the JFrame?
Thanks in advance,