equal
deleted
inserted
replaced
10 |
10 |
11 import scala.swing._ |
11 import scala.swing._ |
12 import scala.swing.event._ |
12 import scala.swing.event._ |
13 |
13 |
14 |
14 |
15 object GUI_Setup extends GUIApplication |
15 object GUI_Setup extends SwingApplication |
16 { |
16 { |
17 def main(args: Array[String]) = |
17 def startup(args: Array[String]) = |
18 { |
18 { |
19 Swing_Thread.later { |
19 UIManager.setLookAndFeel(Platform.look_and_feel) |
20 UIManager.setLookAndFeel(Platform.look_and_feel) |
20 top.pack() |
21 top.pack() |
21 top.visible = true |
22 top.visible = true |
|
23 } |
|
24 } |
22 } |
25 |
23 |
26 def top = new MainFrame { |
24 def top = new MainFrame { |
27 title = "Isabelle setup" |
25 title = "Isabelle setup" |
28 |
26 |