mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Demo: faster repainting when enabling/disabling components
This commit is contained in:
@@ -231,6 +231,9 @@ class ControlBar
|
||||
|
||||
private void enabledChanged() {
|
||||
enabledDisable( tabbedPane, enabledCheckBox.isSelected() );
|
||||
|
||||
// repainting whole tabbed pane is faster than repainting many individual components
|
||||
tabbedPane.repaint();
|
||||
}
|
||||
|
||||
private void enabledDisable( Container container, boolean enabled ) {
|
||||
|
||||
Reference in New Issue
Block a user