This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have a problem with a editable JComboBox I am hoping someone can help me with.
I have anumber of items in the ComboList and if a user wishes to select an item from the list they can either use the drop down list or just type the value in the editable field. However I want to know whether they have just entered the value or have selected from the list. Unfortunately it seems that methods such as getSelectedItem() will give the item in the list regardless of whether it is entered or selected. Any thought on how I can tell the difference?