(boolean modal, boolean reverse)
| 2835 | /// The default version of show dialog shows the dialog occupying the center portion |
| 2836 | /// of the screen. |
| 2837 | void showDialog(boolean modal, boolean reverse) { |
| 2838 | int h = Display.getInstance().getDisplayHeight() - menuBar.getPreferredH() - title.getPreferredH(); |
| 2839 | int w = Display.getInstance().getDisplayWidth(); |
| 2840 | int topSpace = h / 100 * 20; |
| 2841 | int bottomSpace = h / 100 * 10; |
| 2842 | int sideSpace = w / 100 * 20; |
| 2843 | showModal(topSpace, bottomSpace, sideSpace, sideSpace, true, modal, reverse); |
| 2844 | } |
| 2845 | |
| 2846 | /// Works only for modal forms by returning to the previous form |
| 2847 | void dispose() { |
no test coverage detected