()
| 662 | |
| 663 | /// Here so dialogs can disable this |
| 664 | void initTitleBarStatus() { |
| 665 | if (shouldPaintStatusBar()) { |
| 666 | // check if its already added: |
| 667 | if (((BorderLayout) titleArea.getLayout()).getNorth() == null) { |
| 668 | titleArea.addComponent(BorderLayout.NORTH, createStatusBar()); |
| 669 | titleArea.revalidateLater(); |
| 670 | } |
| 671 | } |
| 672 | } |
| 673 | |
| 674 | /// Locates the scrollable-Y descendant that is actually visible to the |
| 675 | /// user inside the Form viewport. Used by the status-bar tap -> scroll-to-top |
no test coverage detected