Skip to content

Commit

Permalink
Remove textArea border in MultiLineComboBoxEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
DJ-Raven committed Sep 26, 2024
1 parent cd0213d commit 9109d09
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1096,10 +1096,10 @@ public MultiLineComboBoxEditor(JComboBox<?> reference) {
area.setLineWrap(false);

Border border = ((JComponent)reference.getEditor().getEditorComponent()).getBorder();
if (border == null) {
border = reference.getBorder();

if (border != null) {
area.setBorder(border);
}
area.setBorder(border);

// retain standard focus traversal behavior
area.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERS‌​AL_KEYS, null);
Expand Down

0 comments on commit 9109d09

Please sign in to comment.