Results 1 to 2 of 2

Thread: JComboBox!!!

  1. #1
    hassaanid2012 is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default JComboBox!!!

    Hello Guys!!!

    I have one JComboBox and i have ms access database with two tables. i used sql query to populate the jcombobox with the specific column values from database but when i click on jcombobox query executed every time and jcombobox populate again with the same values so if i have 4 values in column then after clicking on several times it increases the jcombobox items but i also manage to figure this out by using removeAllItem() method in popup invisible event but here problem occurs. When i click on combobox it shows items but when i try to select item then the item can't selected. Why? Anybody knows how to fix this problem. Any suggestion and help is greatly appreciated!!! Thanks!!! :)


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Need help with JCOMBOBOX
    By Slavon in forum AWT / Swing
    Replies: 1
    Last Post: 03-31-2011, 10:17 AM
  2. Replies: 2
    Last Post: 12-10-2009, 02:58 PM
  3. JComboBox
    By pinks_70986 in forum New To Java
    Replies: 2
    Last Post: 02-19-2009, 06:26 PM
  4. I need help with JComboBox
    By eva21 in forum New To Java
    Replies: 1
    Last Post: 11-28-2008, 11:05 PM
  5. JCombobox
    By daniel50096230 in forum NetBeans
    Replies: 1
    Last Post: 09-21-2008, 01:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts