Archive for May, 2009

h1

What is the easiest way to create a custom JComboBox Popup?

May 28, 2009

If you want a swing JComboBox popup that is not a list (say you want to do a calendar) it would be great to be able to just replace the popup used with your own implementation – you can do that by subclassing the look and feel class and do your own implementation of the Combo Box but you will have to do that per look and feel that you support and what if you want to support every look and feel?

Can you help? What is a good suggestion to circumvent the Look and Feel Problem? Your comment is appreciated!

Advertisements