1 | public void actionPerformed(ActionEvent evt) {↵ | | 1 | public void actionPerformed(ActionEvent evt) {↵
|
2 | ISession activeSession = getApplication().getSessionManager().getActiveSession();↵ | | 2 | ISession activeSession = getApplication().getSessionManager().getActiveSession();↵
|
3 | if (activeSession == null)↵ | | 3 | if (activeSession == null)↵
|
4 | throw new IllegalArgumentException("This method should not be called with a null activeSession");↵ | | 4 | throw new IllegalArgumentException("This method should not be called with a null activeSession");↵
|
|
|
5 | final InvalidObjectsInternalFrame sif = new InvalidObjectsInternalFrame(activeSession, _resources);↵ | | 5 | final SessionInfoInternalFrame sif = new SessionInfoInternalFrame(activeSession, _resources);↵
|
6 | getApplication().getMainFrame().addWidget(sif);↵ | | 6 | getApplication().getMainFrame().addWidget(sif);↵
|
|
7 | // If we don't invokeLater here no Short-Cut-Key is sent↵ | | 7 | // If we don't invokeLater here no Short-Cut-Key is sent↵
|
8 | // to the internal frame↵ | | 8 | // to the internal frame↵
|
9 | // seen under java version "1.4.1_01" and Linux↵ | | 9 | // seen under java version "1.4.1_01" and Linux↵
|
10 | SwingUtilities.invokeLater(new Runnable()↵ | | 10 | SwingUtilities.invokeLater(new Runnable()↵
|
11 | {↵ | | 11 | {↵
|
12 | public void run()↵ | | 12 | public void run()↵
|
13 | {↵ | | 13 | {↵
|
14 | sif.setVisible(true);↵ | | 14 | sif.setVisible(true);↵
|
15 | | | 15 |
|