mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 21:34:22 +00:00
Show Version
This commit is contained in:
1 parent
d99e82224b
commit
c2e4235227
8 files changed
+18
-4
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@ import java.util.logging.Logger;
|
||||
|
||||
public class CustomSkinLoaderGUI {
|
||||
|
||||
public static final String VERSION ="1.0.2";
|
||||
public static final String VERSION ="1.0.3";
|
||||
|
||||
public static final Logger log=Logger.getLogger("CustomSkinLoader-GUI");
|
||||
|
||||
@@ -15,9 +15,6 @@ public class CustomSkinLoaderGUI {
|
||||
log.info("Version "+VERSION+" !");
|
||||
MainFrame mf=new MainFrame();
|
||||
mf.init(args);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -43,6 +43,12 @@ public class MainFrame {
|
||||
tip2.setBounds(30, 70, 370, 15);
|
||||
con.add(tip2);
|
||||
}
|
||||
if(args.length>1){
|
||||
JLabel tip3=new JLabel();
|
||||
tip3.setText(lang.yourVersion()+" "+args[1]);
|
||||
tip3.setBounds(30, 90, 370, 15);
|
||||
con.add(tip3);
|
||||
}
|
||||
|
||||
JButton skinBtn=new JButton();
|
||||
skinBtn.setText(lang.skin()+lang.loadList());
|
||||
|
||||
@@ -58,4 +58,8 @@ public class ChineseSimpLang extends DefaultLang {
|
||||
public String close(){
|
||||
return "关闭";
|
||||
}
|
||||
@Override
|
||||
public String yourVersion(){
|
||||
return "您的皮肤模组版本:";
|
||||
}
|
||||
}
|
||||
@@ -58,4 +58,8 @@ public class ChineseTranLang extends DefaultLang {
|
||||
public String close(){
|
||||
return "關閉";
|
||||
}
|
||||
@Override
|
||||
public String yourVersion(){
|
||||
return "您的皮膚模組版本:";
|
||||
}
|
||||
}
|
||||
@@ -43,4 +43,7 @@ public class DefaultLang {
|
||||
public String close(){
|
||||
return "Close";
|
||||
}
|
||||
public String yourVersion(){
|
||||
return "Your CustomSkinLoader Version:";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user