posted 20 years ago
You could use borders with insets:
Border border1 = BorderFactory.createEmptyBorder (5,5,5,5);
Border border2 = BorderFactory.createBevelBorder (BevelBorder.LOWERED);
Border border = BorderFactory.createCompoundBorder (border2, border1);
and then use
setBorder on the Box panel.
Check out JComboBox for a drop down list.
The nice thing about Standards is that there are so many to choose from!