This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "custom jcombobox editor" Watch "custom jcombobox editor" New topic
Author

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 =)


http://i.stack.imgur.com/59FY7.jpg

 
Don't get me started about those stupid light bulbs.
 
subject: custom jcombobox editor
 
Similar Threads
Tool tip and JComboBox
Need help creating custom ComboBoxEditor
Arrow navigation not working on JComboBox with null element
setBackgroundColor
Checked JComboBox