File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Combo Selection - Trouble Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Combo Selection - Trouble" Watch "Combo Selection - Trouble" New topic

Combo Selection - Trouble

Arun Sanker
Ranch Hand

Joined: Mar 21, 2007
Posts: 44
Hi guys,

Have made a small test application to tell my problem.
Have rendered a table with a comboBox.Everything works fine,the way I wanted it to be, apart from the following things.

When the user Doubleclicks on one of the combocells,the comboitem in the combobox is already displayed on the tablecell.I dont want it to be like that.

I want the comboitem to be displayed on the tablecell only when the user explicitly goes and selects the comboitem.If the user doublciks on the cell as said before,the old cell value should remain.

How to catch a combo close up event when the user explicitly selects an item from the combo.Because I want to do something when the user does so....

see Pic:

Iam attaching the code(running) also along with this....

Any help is greatly appreciated.


I agree. Here's the link:
subject: Combo Selection - Trouble
It's not a secret anymore!