(Component cmp)
| 2065 | |
| 2066 | /// {@inheritDoc} |
| 2067 | @Override |
| 2068 | void repaint(Component cmp) { |
| 2069 | if (getParent() != null) { |
| 2070 | super.repaint(cmp); |
| 2071 | return; |
| 2072 | } |
| 2073 | if (isVisible() && !disposed && (isMenu() || CN.getCurrentForm() == this)) { //NOPMD CompareObjectsWithEquals |
| 2074 | Display.getInstance().repaint(cmp); |
| 2075 | } |
| 2076 | } |
| 2077 | |
| 2078 | /// Allows a dialog component to grow or shrink to its new preferred size |
| 2079 | public void growOrShrink() { |
nothing calls this directly
no test coverage detected