Just a small bug

This commit is contained in:
xfl03 committed 2015-06-07 08:57:19 +08:00
1 parent 504a598428
commit 3600a7c5bf
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import java.util.logging.Logger;
public class CustomSkinLoaderGUI {
public static final String VERSION ="1.0.7";
public static final String VERSION ="1.0.8";
public static final Logger log=Logger.getLogger("CustomSkinLoader-GUI");
public static final File LCK=new File("GUI.lck");
+5 -3
View File
@@ -68,7 +68,7 @@ public class CloakFrame {
public void actionPerformed (ActionEvent e){
String temp="";
for(int i=0;i<=2;i++)
temp+=urls[i]+"\n";
temp+=urls[i]+"\r\n";
cloakList.setText(temp);
};
});
@@ -79,9 +79,11 @@ public class CloakFrame {
urlBtn.addActionListener(new ActionListener(){ //单击事件
@Override
public void actionPerformed (ActionEvent e){
String temp=cloakList.getText()+"\n";
String temp=cloakList.getText()+"\r\n";
if(temp.equalsIgnoreCase("\r\n"))
temp="";
for(int i=0;i<urls.length;i++)
temp+=urls[i]+"\n";
temp+=urls[i]+"\r\n";
cloakList.setText(temp);
};