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 authored and eirikbakke committed Sep 27, 2024
1 parent 4a7bacc commit 328931e
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 328931e

Please sign in to comment.