@@ -63,15 +63,15 @@ class GUIChildModel @throws(classOf[InterruptedException]) @throws(classOf[Exten
6363 // Wakes up the workspace if the speed slider is super low.
6464 // Makes it so there's not a long pause after increasing
6565 // the speed slider from a low position. BCH 6/18/2016
66- workspace.updateManager().nudgeSleeper
66+ workspace.updateManager().nudgeSleeper()
6767 onEDT {
6868 panel.speedSlider.setValue((d * 2 ).intValue)
6969 }
7070 }
7171
7272 override def hide (): Unit = {
7373 workspace.updateManager().speed = 50
74- workspace.updateManager().nudgeSleeper
74+ workspace.updateManager().nudgeSleeper()
7575 super .hide()
7676 }
7777
@@ -83,7 +83,7 @@ class GUIChildModel @throws(classOf[InterruptedException]) @throws(classOf[Exten
8383
8484 def workspace : GUIWorkspace = component.workspace
8585
86- def syncTheme () {
86+ def syncTheme (): Unit = {
8787 menuBar.syncTheme()
8888 panel.syncTheme()
8989
@@ -99,21 +99,21 @@ class SyncedMenuBar extends JMenuBar with ThemeSync {
9999
100100 add(zoomMenu)
101101
102- override def paintComponent (g : Graphics ) {
102+ override def paintComponent (g : Graphics ): Unit = {
103103 val g2d = Utils .initGraphics2D(g)
104104
105105 g2d.setColor(InterfaceColors .menuBackground)
106106 g2d.fillRect(0 , 0 , getWidth, getHeight)
107107 }
108108
109- override def paintBorder (g : Graphics ) {
109+ override def paintBorder (g : Graphics ): Unit = {
110110 val g2d = Utils .initGraphics2D(g)
111111
112112 g2d.setColor(InterfaceColors .menuBarBorder)
113113 g2d.drawLine(0 , getHeight - 1 , getWidth, getHeight - 1 )
114114 }
115115
116- def syncTheme () {
116+ def syncTheme (): Unit = {
117117 zoomMenu.syncTheme()
118118 }
119119}
0 commit comments