This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
setLocation and setBounds are not working for JComboBox. All my other code is working perfectly fine though.
At the top of my code is:
I tried this:
I also tried this:
They all compile and run fine. The JComboBox pops up fine and works fine, just not in the right location.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)