equal
deleted
inserted
replaced
41 } |
41 } |
42 |
42 |
43 val jconsole = new JConsole(false) |
43 val jconsole = new JConsole(false) |
44 |
44 |
45 val screen = GUI.mouse_location() |
45 val screen = GUI.mouse_location() |
46 val width = 1200 min screen.bounds.width |
46 val width = (1200 max (screen.bounds.width / 2)) min screen.bounds.width |
47 val height = 900 min screen.bounds.height |
47 val height = (900 max (screen.bounds.height / 2)) min screen.bounds.height |
48 jconsole.setBounds( |
48 jconsole.setBounds( |
49 screen.bounds.x + (screen.bounds.width - width) / 2, |
49 screen.bounds.x + (screen.bounds.width - width) / 2, |
50 screen.bounds.y + (screen.bounds.height - height) / 2, |
50 screen.bounds.y + (screen.bounds.height - height) / 2, |
51 width, height) |
51 width, height) |
52 |
52 |