Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JComboBox and border

843806Sep 4 2008 — edited Sep 6 2008
Hi all:

I have been reading messages about combos and borders, but did not found an answer, so, here it is the question:

I want a JComboBox that, when not active, does not show any border.

For the moment, thanks to uiDefaults.put( "Button.border", lineBorder) I have just removed the border in the arrow button. But the selected item label, displayed by a javax.swing.CellRendererPane, still paints a compound border.

Any help?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2008
Added on Sep 4 2008
10 comments
613 views