|
|
@ -302,13 +302,18 @@ public class DesignerSocketIO { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static void showRPCDisconnectDialog() { |
|
|
|
private static void showRPCDisconnectDialog() { |
|
|
|
FineJOptionPane.showMessageDialog( |
|
|
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
|
|
|
DesignerContext.getDesignerFrame(), |
|
|
|
@Override |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Remote_Disconnected"), |
|
|
|
public void run() { |
|
|
|
UIManager.getString("OptionPane.messageDialogTitle"), |
|
|
|
FineJOptionPane.showMessageDialog( |
|
|
|
JOptionPane.ERROR_MESSAGE, |
|
|
|
DesignerContext.getDesignerFrame(), |
|
|
|
UIManager.getIcon("OptionPane.errorIcon")); |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Remote_Disconnected"), |
|
|
|
EnvChangeEntrance.getInstance().chooseEnv(); |
|
|
|
UIManager.getString("OptionPane.messageDialogTitle"), |
|
|
|
|
|
|
|
JOptionPane.ERROR_MESSAGE, |
|
|
|
|
|
|
|
UIManager.getIcon("OptionPane.errorIcon")); |
|
|
|
|
|
|
|
EnvChangeEntrance.getInstance().chooseEnv(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static boolean checkRPCConnect() { |
|
|
|
private static boolean checkRPCConnect() { |
|
|
|