Skip to content

Commit 93f97aa

Browse files
author
Allan Jacobs
committed
Use repaint from scala.swing.UIElement instead of the repaint method of a peer.
1 parent 4ae0185 commit 93f97aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/scala/scala/swing/examples/tutorials/layout/FlowLayoutDemo.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class FlowLayoutDemo extends BorderPanel {
8585
compsToExperiment.peer.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT)
8686
}
8787
compsToExperiment.peer.validate()
88-
compsToExperiment.peer.repaint()
88+
compsToExperiment.repaint()
8989
}
9090
}
9191

0 commit comments

Comments
 (0)