|
Hello Prabhu,
You will have to override the default ListCellRenderer with your own (or extend the current one) and create an EmptyBorder with the insets you would like..
JComboBox box = new JComboBox(data);
((BasicComboBoxRenderer)box.getRenderer()).setBord er(new EmptyBorder(0,3,0,3));
__________________
To finish sooner, take your own time....
Nivedithaaaa
|