예제 #1
0
 public void close() {
   if (fetchThread != null && !fetchThread.done) {
     luwrain.message(stringConstructor.processNotFinished());
     return;
   }
   luwrain.closeApp();
 }
예제 #2
0
 public void launchFetching() {
   if (fetchThread != null && !fetchThread.done) {
     luwrain.message(stringConstructor.processAlreadyRunning());
     return;
   }
   fetchArea.clear();
   fetchThread = new FetchThread(luwrain, stringConstructor, fetchArea);
   Thread t = new Thread(fetchThread);
   t.start();
 }