()
| 142 | /** * |
| 143 | */ |
| 144 | @Override |
| 145 | public void run() { |
| 146 | while(!stop){ |
| 147 | try{ |
| 148 | Thread.sleep(300); |
| 149 | centerBox.validate(); |
| 150 | pack(); |
| 151 | /* |
| 152 | Point loc = frame.getLocation(); |
| 153 | setLocation(loc.x + (frame.getSize().width - getSize().width) / 2 , |
| 154 | loc.y + (frame.getSize().height - getSize().height) /2); |
| 155 | */ |
| 156 | picture.paintImmediately(picture.getVisibleRect()); |
| 157 | }catch(InterruptedException ie){} |
| 158 | } |
| 159 | this.setVisible(false); |
| 160 | } |
| 161 | |
| 162 | |
| 163 | boolean stop = false; |
nothing calls this directly
no test coverage detected