mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 16:11:17 +00:00
AS3: Default method tab is code tab
Version set to alpha10
This commit is contained in:
@@ -52,8 +52,9 @@ public class Main {
|
||||
public static String file;
|
||||
public static String maskURL;
|
||||
public static SWF swf;
|
||||
public static final String version = "alpha9";
|
||||
public static final String version = "alpha10";
|
||||
public static String applicationName = "JP ActionScript Decompiler v." + version;
|
||||
public static String shortApplicationName = "JPAD v."+version;
|
||||
public static LoadingDialog loadingDialog = new LoadingDialog();
|
||||
public static ModeFrame modeFrame;
|
||||
private static boolean working = false;
|
||||
@@ -195,7 +196,10 @@ public class Main {
|
||||
DEBUG_COPY = false;
|
||||
//DEBUG_COPY=true;
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
if(DEBUG_MODE)
|
||||
{
|
||||
ex.printStackTrace();
|
||||
}
|
||||
JOptionPane.showMessageDialog(null, "Cannot load SWF file.");
|
||||
loadingDialog.setVisible(false);
|
||||
return false;
|
||||
|
||||
@@ -37,7 +37,8 @@ public class MethodTraitDetailPanel extends JTabbedPane implements TraitDetail {
|
||||
methodInfoPanel=new MethodInfoPanel();
|
||||
addTab("MethodInfo",methodInfoPanel);
|
||||
addTab("MethodBody Code", methodCodePanel);
|
||||
addTab("MethodBody params", new JScrollPane(methodBodyParamsPanel));
|
||||
addTab("MethodBody params", new JScrollPane(methodBodyParamsPanel));
|
||||
setSelectedIndex(1);
|
||||
}
|
||||
|
||||
public boolean save() {
|
||||
|
||||
@@ -40,7 +40,7 @@ public class LoadingDialog extends JFrame implements ImageObserver {
|
||||
*/
|
||||
public LoadingDialog() {
|
||||
setResizable(false);
|
||||
setTitle(Main.applicationName);
|
||||
setTitle(Main.shortApplicationName);
|
||||
setSize(300, 150);
|
||||
setLayout(new BorderLayout());
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ModeFrame extends JFrame implements ActionListener {
|
||||
cont.add(exitButton);
|
||||
View.centerScreen(this);
|
||||
View.setWindowIcon(this);
|
||||
setTitle(Main.applicationName);
|
||||
setTitle(Main.shortApplicationName);
|
||||
this.addWindowListener(new WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosing(WindowEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user