Fixed deprecation warning for "show()".

This commit is contained in:
Deryck Brown 2022-05-12 18:07:50 +01:00
parent 1bc91a2394
commit ae20dc2126

View File

@ -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) {