Browse Source

update

master
Fangjie Hu 8 years ago
parent
commit
1b4faadc66
  1. 2
      designer_base/src/com/fr/design/extra/pre4plugin/PreDependenceUtils.java

2
designer_base/src/com/fr/design/extra/pre4plugin/PreDependenceUtils.java

@ -89,7 +89,7 @@ public class PreDependenceUtils{
timer = new Timer(100, this); timer = new Timer(100, this);
frame = new JDialog(DesignerContext.getDesignerFrame(), true); frame = new JDialog(DesignerContext.getDesignerFrame(), true);
frame.setTitle("在线安装phantomjs"); frame.setTitle("在线安装" + ID);
frame.setSize(LOAD_WIDTH, LOAD_HEIGHT); frame.setSize(LOAD_WIDTH, LOAD_HEIGHT);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
frame.setLocation(screenSize.width/2-LOAD_WIDTH/2,screenSize.height/2-LOAD_HEIGHT/2); frame.setLocation(screenSize.width/2-LOAD_WIDTH/2,screenSize.height/2-LOAD_HEIGHT/2);

Loading…
Cancel
Save