Whoops, re-added decompile button
@@ -307,7 +307,7 @@ public class DefinitionBox extends BasicFrame {
c.gridy++;
c.gridx = 0;
c.gridwidth = 1;
- add(new JLabel("Acc:"), c);
+ add(new JLabel(""), c);
c.fill = GridBagConstraints.HORIZONTAL;
c.gridx = 1;
c.gridwidth = 2;
@@ -318,6 +318,21 @@ public class DefinitionBox extends BasicFrame {
cdp.exception(e);
}
}),c);
+ c.fill = GridBagConstraints.NONE;
+ c.gridy++;
+ c.gridx = 0;
+ c.gridwidth = 1;
+ add(new JLabel(""), c);
+ c.fill = GridBagConstraints.HORIZONTAL;
+ c.gridx = 1;
+ c.gridwidth = 2;
+ add(new ActionButton("Decompile",() -> {
+ try {
+ cdp.decompile(cn, null);
+ } catch (Exception e) {
+ cdp.exception(e);
+ }
+ }),c);
c.gridy++;
/*
c.fill = GridBagConstraints.HORIZONTAL;
