AS1/2 better deobfuscation

code formatting
This commit is contained in:
Jindra Pet��k
2013-03-10 06:03:15 +01:00
parent 959a413a72
commit 4c1485808f
164 changed files with 1083 additions and 666 deletions
@@ -242,9 +242,9 @@ public class GraphFrame extends JFrame {
gp = new GraphPanel(graph);
setTitle("Graph " + name);
cnt.add(new JScrollPane(gp));
View.setWindowIcon(this);
}
@Override
@@ -255,21 +255,19 @@ public class GraphFrame extends JFrame {
Dimension dim = new Dimension(0, 0);
Dimension panDim = gp.getPreferredSize();
if (panDim.width < screen.width) {
dim.width = panDim.width+10;
dim.width = panDim.width + 10;
} else {
dim.width = screen.width;
}
if (panDim.height < screen.height) {
dim.height = panDim.height+10;
dim.height = panDim.height + 10;
} else {
dim.height = screen.height;
}
setVisibleSize(dim);
}
setVisibleSize(dim);
View.centerScreen(this);
}
private void setVisibleSize(Dimension dim) {
Insets insets = this.getInsets();
setSize(new Dimension(insets.left + insets.right + dim.width,