aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes custom jcombobox editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "custom jcombobox editor" Watch "custom jcombobox editor" New topic

custom jcombobox editor

antonio espinosa
Ranch Hand

Joined: Jul 30, 2012
Posts: 30

hello code ranchers.

i got stuck at adding a button to a jcombobox editor i succeded to add a button but i got some issues

when i first enter to the editor an action perform event gets fire wich is unaceptable and the other is i can't get the text typed

this is the problem , if i return panel.jtexfield i only get a text field without a button so whats the trick here?

here is my code

i also wish to set the text font and size to the same as the setted up at the jcombobox
antonio espinosa
Ranch Hand

Joined: Jul 30, 2012
Posts: 30

here it is my implementation enjoy =)

I agree. Here's the link:
subject: custom jcombobox editor
Similar Threads
Need help creating custom ComboBoxEditor
Checked JComboBox
Arrow navigation not working on JComboBox with null element
Tool tip and JComboBox