mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03: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