Since it creates two references, the drawing routine in the panel loops over an empty list (the non-visible JPanel)
for( int i = 0; i < owner.myDraw.picture.size(); i++ ){
...
Type: Posts; User: copeg
Since it creates two references, the drawing routine in the panel loops over an empty list (the non-visible JPanel)
for( int i = 0; i < owner.myDraw.picture.size(); i++ ){
...
In the Application class constructor:
this.myDraw = new DrawPanel(this);
this.myButton = new ButtonPanel(this);
frame.setSize(800, 800);
frame.add(new...