I have been trying to get my JComboBox to appear without success. Here is my code.
I can get them to appear separately but not together, and I would like them both in the JPanel if possible.
Steve Myers
Ranch Hand
Joined: Dec 08, 2012
Posts: 42
posted
0
You're add method isn't correct, try:
You should carefully read Java docs for the Swing components you're using. Also look at naming conventions - your class name is not capitalized.
One more thing, read up on the Event Dispatch Thread.
Steve Myers wrote:You're add method isn't correct, try:
You should carefully read Java docs for the Swing components you're using. Also look at naming conventions - your class name is not capitalized.
One more thing, read up on the Event Dispatch Thread.
Thanks for the fix, I'm looking into the naming conventions and the event dispatch thread.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.