2 Replies Latest reply: May 31, 2012 1:49 PM by darrylburke RSS

    problem with JComboBox default value

      Hi i have 50 customers in the database. I am pulling the customer names as an array and passing to JComboBox. but the problem is, it is by default displaying the first element in the array. but i want to display a string like "Select Customer" as the default value. so that customer name will be choosen. It is because i have to perform some actions on "on selecting an item".

      kindly help. thanks in advance.