Skip to content

Commit ef900c6

Browse files
Fix high CPU load in grid customizer (GH9060)
Ensure the animation layer paint is called at least once inside paintComponent so that the animation timer is shut down.
1 parent 05653fd commit ef900c6

File tree

1 file changed

+0
-2
lines changed
  • java/form/src/org/netbeans/modules/form/layoutsupport/griddesigner

1 file changed

+0
-2
lines changed

java/form/src/org/netbeans/modules/form/layoutsupport/griddesigner/GlassPane.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,8 +1501,6 @@ public void actionPerformed(ActionEvent e) {
15011501
if(!noChange(change)) {
15021502
animChange = change;
15031503
animLayer.animate();
1504-
} else {
1505-
animation = false;
15061504
}
15071505
}
15081506

0 commit comments

Comments
 (0)