AS3: Experimental graph function

This commit is contained in:
Jindra Pet��k
2010-09-19 10:07:38 +02:00
parent 0c579e1f1c
commit 86f602ff80
11 changed files with 694 additions and 2 deletions
@@ -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();
}