MCPcopy Create free account
hub / github.com/GateNLP/gate-core / run

Method run

src/main/java/gate/swing/WaitDialog.java:144–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 3

validateMethod · 0.65
packMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected