mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 23:00:46 +00:00
AS3: Experimental graph function
This commit is contained in:
@@ -182,7 +182,11 @@ public class MainFrame extends JFrame implements ActionListener, ItemListener {
|
||||
saveButton.setActionCommand("SAVEBODY");
|
||||
saveButton.addActionListener(this);
|
||||
|
||||
JButton graphButton = new JButton("Graph");
|
||||
graphButton.setActionCommand("GRAPH");
|
||||
graphButton.addActionListener(this);
|
||||
|
||||
//buttonsPan.add(graphButton);
|
||||
buttonsPan.add(saveButton);
|
||||
rightPanel.add(buttonsPan, BorderLayout.SOUTH);
|
||||
decompiledTextArea = new DecompiledEditorPane();
|
||||
@@ -332,6 +336,9 @@ public class MainFrame extends JFrame implements ActionListener, ItemListener {
|
||||
Main.exit();
|
||||
}
|
||||
if (Main.isWorking()) return;
|
||||
if (e.getActionCommand().equals("GRAPH")) {
|
||||
sourceTextArea.graph();
|
||||
}
|
||||
if (e.getActionCommand().equals("SHOWPROXY")) {
|
||||
Main.showProxy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user