mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
When editing Label components, default focus to the text editor
This commit is contained in:
@@ -88,5 +88,11 @@ public class MultiLineStringEditor extends JScrollPane {
|
||||
property.setChanged(true);
|
||||
getTextArea().setBackground(oldBg);
|
||||
property.setValue(getTextArea().getText());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requestFocusInWindow() {
|
||||
getTextArea().selectAll();
|
||||
return getTextArea().requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user