Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom jcombobox editor

 
antonio espinosa
Ranch Hand
Posts: 30
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 30
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here it is my implementation enjoy =)


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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic