Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.07 seconds.

  1. Re: JComboBox issue. If user selects any item do this... (if statment)

    Use the JComboBox.insertItemAt(Object,0); method.
  2. Re: JComboBox issue. If user selects any item do this... (if statment)

    You can add the new blank item at runtime, as well as the items from the database.
  3. Re: JComboBox issue. If user selects any item do this... (if statment)

    Wait, so you just want an option in the JComboBox that you can use to indicate that nothing has been selected? Just add a blank option as the first in the JComboBox and check if that item is...
  4. Re: JComboBox issue. If user selects any item do this... (if statment)

    Wait, can you even "not select" an item in a JComboBox? Isn't the first item selected, by default, when the JComboBox gets created?
Results 1 to 4 of 4