Fixed deprecation warning for "show()".
This commit is contained in:
parent
1bc91a2394
commit
ae20dc2126
@ -46,7 +46,7 @@ public class Drawer {
|
||||
theDrawing = (DrawingTree) theAST.visit(layout, null);
|
||||
theDrawing.position(new Point(2048, 10));
|
||||
|
||||
frame.show();
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
public void paintAST(Graphics g) {
|
||||
|
Reference in New Issue
Block a user