|
|
@ -47,7 +47,7 @@ public class FineEmbedServerMonitor { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void on(Event event, Null aNull) { |
|
|
|
public void on(Event event, Null aNull) { |
|
|
|
getInstance().reset(); |
|
|
|
getInstance().reset(); |
|
|
|
DesignerContext.getDesignerFrame().hideProgressDialog(); |
|
|
|
DesignerContext.getDesignerFrame().disposeProgressDialog(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
@ -92,14 +92,11 @@ public class FineEmbedServerMonitor { |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|
if (isComplete()) { |
|
|
|
if (isComplete()) { |
|
|
|
scheduler.shutdown(); |
|
|
|
scheduler.shutdown(); |
|
|
|
// 在进度条满了之后,将进度条置0并清空进度,不然下一次打开进度条会先显示上一次的进度
|
|
|
|
DesignerContext.getDesignerFrame().disposeProgressDialog(); |
|
|
|
DesignerContext.getDesignerFrame().updateProgress(0); |
|
|
|
|
|
|
|
DesignerContext.getDesignerFrame().repaintProgressDialog(); |
|
|
|
|
|
|
|
DesignerContext.getDesignerFrame().hideProgressDialog(); |
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!DesignerContext.getDesignerFrame().getProgressDialog().isVisible()) { |
|
|
|
if (!DesignerContext.getDesignerFrame().getProgressDialog().isVisible()) { |
|
|
|
DesignerContext.getDesignerFrame().showProgressDialog(); |
|
|
|
DesignerContext.getDesignerFrame().openProgressDialog(); |
|
|
|
//如果为韩文则改变字体
|
|
|
|
//如果为韩文则改变字体
|
|
|
|
LocaleCenter.buildAction(new LocaleAction() { |
|
|
|
LocaleCenter.buildAction(new LocaleAction() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|