1 | public class CascadeAction extends CascadeInternalFramesAction↵ | | 1 | public class MaximizeAction extends MaximizeInternalFramesAction↵
|
2 | {↵ | | 2 | {↵
|
3 | /** Application API. */↵ | | 3 | /** Application API. */↵
|
4 | private IApplication _app;↵ | | 4 | private IApplication _app;↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Default ctor↵ | | 6 | * Ctor.↵
|
| | | 7 | *↵
|
7 | .↵ | | 8 | * @param app Application API.↵
|
8 | */↵ | | 9 | */↵
|
9 | public CascadeAction(IApplication app)↵ | | 10 | public MaximizeAction(IApplication app)↵
|
10 | {↵ | | 11 | {↵
|
11 | super(app);↵ | | 12 | super(app);↵
|
12 | _app = app;↵ | | 13 | _app = app;↵
|
13 | app.getResources().setupAction(↵ | | 14 | app.getResources().setupAction(↵
|
14 | this,↵ | | 15 | this,↵
|
15 | _app.getSquirrelPreferences().getShowColoriconsInToolbar());↵ | | 16 | _app.getSquirrelPreferences().getShowColoriconsInToolbar());↵
|
16 | }↵ | | 17 | }↵
|
|
17 | public void actionPerformed(ActionEvent evt)↵ | | 18 | public void actionPerformed(ActionEvent evt)↵
|
18 | {↵ | | 19 | {↵
|
19 | CursorChanger cursorChg = new CursorChanger(_app.getMainFrame());↵ | | 20 | CursorChanger cursorChg = new CursorChanger(_app.getMainFrame());↵
|
20 | cursorChg.show();↵ | | 21 | cursorChg.show();↵
|
21 | try↵ | | 22 | try↵
|
22 | {↵ | | 23 | {↵
|
23 | super.actionPerformed(evt);↵ | | 24 | super.actionPerformed(evt);↵
|
24 | }↵ | | 25 | }↵
|
25 | finally↵ | | 26 | finally↵
|
26 | {↵ | | 27 | {↵
|
27 | cursorChg.restore() | | 28 | cursorChg.restore()
|