diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index 6c5186360..11aee7397 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -1320,7 +1320,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec if (swf == null) { return; } - + FileAttributesTag fileAttributes = swf.getFileAttributes(); if (fileAttributes != null && fileAttributes.actionScript3) { final int multiName = getABCPanel().decompiledTextArea.getMultinameUnderCaret(); @@ -1643,7 +1643,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec } } } - + public void exportSwfXml() { List sel = tagTree.getSelected(tagTree); for (TreeItem item : sel) { @@ -1661,7 +1661,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec } } } - + public void importSwfXml() { List sel = tagTree.getSelected(tagTree); for (TreeItem item : sel) { @@ -1684,7 +1684,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec } } } - + public void restoreControlFlow(final boolean all) { Main.startWork(translate("work.restoringControlFlow")); if ((!all) || confirmExperimental()) { @@ -2091,7 +2091,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec JFrame f = new JFrame(); View.setWindowIcon(f); if (fc.showOpenDialog(f) == JFileChooser.APPROVE_OPTION) { - File result = fc.getSelectedFile(); + File result = fc.getSelectedFile(); Configuration.lastOpenDir.set(Helper.fixDialogFile(result).getParentFile().getAbsolutePath()); return result; } diff --git a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java index 91200f7a7..94e1eb30e 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java @@ -255,12 +255,12 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Se public SWF getSwf() { return abc == null ? null : abc.getSwf(); } - + public List getAbcList() { SWF swf = getSwf(); return swf == null ? null : swf.getAbcList(); } - + public void clearSwf() { this.abc = null; constantTable.setModel(new DefaultTableModel()); diff --git a/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java b/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java index f2fd0253a..bd56f2e4d 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java @@ -681,7 +681,7 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL private ABC getABC() { return script == null ? null : script.abc; } - + @Override public void setText(String t) { super.setText(t); diff --git a/src/com/jpexs/decompiler/flash/gui/abc/TraitsList.java b/src/com/jpexs/decompiler/flash/gui/abc/TraitsList.java index 8e7fff33e..826af309a 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/TraitsList.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/TraitsList.java @@ -64,7 +64,7 @@ public class TraitsList extends JList implements ListSelectionListener { setModel(new DefaultListModel<>()); setClassIndex(-1, -1); } - + private List getAbcTags() { return abc == null ? null : abc.getSwf().getAbcList(); }