Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JComboBox & Java 6  RSS feed

 
Isaac Hewitt
Ranch Hand
Posts: 191
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since upgrading to Java 6 and NetBeans 5.5, I have noticed that when a selection at index 0 (zero) in my JComboBox is made the designated action is not fired. It was working perfectly until Java 6. The code below gets a keyword from a textfield and adds it to a method that launches a browser. I inserted a println() call just after "int engineNum" and nothing gets printed out.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!