|
|
@ -302,6 +302,9 @@ public class DesignerSocketIO { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static void showRPCDisconnectDialog() { |
|
|
|
private static void showRPCDisconnectDialog() { |
|
|
|
|
|
|
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void run() { |
|
|
|
FineJOptionPane.showMessageDialog( |
|
|
|
FineJOptionPane.showMessageDialog( |
|
|
|
DesignerContext.getDesignerFrame(), |
|
|
|
DesignerContext.getDesignerFrame(), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Remote_Disconnected"), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Remote_Disconnected"), |
|
|
@ -310,6 +313,8 @@ public class DesignerSocketIO { |
|
|
|
UIManager.getIcon("OptionPane.errorIcon")); |
|
|
|
UIManager.getIcon("OptionPane.errorIcon")); |
|
|
|
EnvChangeEntrance.getInstance().chooseEnv(); |
|
|
|
EnvChangeEntrance.getInstance().chooseEnv(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static boolean checkRPCConnect() { |
|
|
|
private static boolean checkRPCConnect() { |
|
|
|
CloseableHttpClient httpclient = HttpClients.createDefault(); |
|
|
|
CloseableHttpClient httpclient = HttpClients.createDefault(); |
|
|
|