| 52 | * Create a boolean property fullScreenMode in MainWindow. |
| 53 | * (true = full screen mode, false = normal mode) |
| 54 | * Implement it in DefaultMainWindow. |
| 55 | |
| 56 | * Create a &View menu in {{{main.app.menus}}}. |
| 57 | * Create a &Full Screen menu item in the View menu. |
| 58 | |
| 59 | * Make the main window's JFrame in full screen when fullScreenMode is true |
| 60 | * In MDMainWindow.globalContainer modify the {{{configureFrameSettings(JFrame gcf)}}} method |
| 61 | * When fullScreenMode is true: |
| 62 | * use {{{gcf.setUndecorated(true)}}} to remove the window title bar, border and all other decorations |
| 63 | * resize it to screen's dimensions |
| 64 | * move it to the top left corner |
| 65 | |
| 66 | * Hide/show the left and right flap |
| 67 | * .............. |
| 68 | |
| 69 | * Hide/show the tab bar |
| 70 | * in DefaultDocumentsDesktop.swingComponent, setup method, add the tab bar only if fullScreenMode is false. |
| 71 | |
| 72 | * Maximize current document's window and hide its title bar |
| 73 | * in DefaultDocumentWindow.swingComponent, setup method, set different settings for the JInternalFrame |
| 74 | * for full screen mode: |
| 75 | * {{{res.setMaximum(true);}}} |
| 76 | * {{{res.setMaximizable(false);}}} |
| 77 | * {{{res.setIconifiable(false);}}} |
| 78 | * {{{res.setClosable(false);}}} |
| 79 | * {{{res.setResizable(false);}}} |
| 80 | * Hide the title bar: {{{ ((BasicInternalFrameUI)res.getUI()).setNorthPane(null); }}} |
| 81 | |