aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Jlabel inside combobox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jlabel inside combobox" Watch "Jlabel inside combobox" New topic
Author

Jlabel inside combobox

Mohamad Obagi
Ranch Hand

Joined: Oct 25, 2008
Posts: 37
i am trying to add a j label inside combo box using net beans but i am not being able to!

the jlabels contain icons

does anyone knows how i can do it?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

You need to provide a renderer to the combo box which will return the required label.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jlabel inside combobox