62,616
社区成员
发帖
与我相关
我的任务
分享
static {
String conf = "conf" + File.separator + "config.properties";
clientConf = ClientConfig.loadConfig(conf);
if (clientConf == null) {
JOptionPane.showMessageDialog(null, "Load config error ! Please check the file :" + conf, "Load config error !", JOptionPane.ERROR_MESSAGE);
}
if (clientConf == null) {
static {
String conf = "conf" + File.separator + "config.properties";
clientConf = ClientConfig.loadConfig(conf);
if (clientConf == null) {
JOptionPane.showMessageDialog(null, "Load config error ! Please check the file :" + conf, "Load config error !", JOptionPane.ERROR_MESSAGE);
}