Hi, in swing what is the name of a button that can also be a list. It is usually used in toolbar, such as the one in internet exlporer. You can chosse between a click on the button or a click on a little arrow that makes a menu appear. (example : the "back" button of I.E.) do you see what i mean ? how to do one like that, in swing ? thanks Thiago
posted 14 years ago
Hi, I would say, with a normal Swing, this is not possible, so either you create your own Swing component or you can work with a workaround, like using JButton and JComboBox. If you go the first way, you should have a look to the implementation of Swing.