A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Jlabel inside combobox
Joined: Oct 25, 2008
Nov 12, 2008 23:57:00
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?
Joined: Jul 26, 2007
Nov 13, 2008 00:00:00
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:
subject: Jlabel inside combobox
Interfaces (Output 's Confusion)
Doubt in Custom tag developement
Spring AOP Exception handling
Where to keep shared jar files of an ear file inside JBOSS
Toast context inside onFocusChangeListener
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014