Search:

Type: Posts; User: copeg

Search: Search took 0.24 seconds.

  1. Replies
    5
    Views
    820

    Re: Problem printing onto JPanel

    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++ ){
    ...
  2. Replies
    5
    Views
    820

    Re: Problem printing onto JPanel

    In the Application class constructor:



    this.myDraw = new DrawPanel(this);
    this.myButton = new ButtonPanel(this);

    frame.setSize(800, 800);
    frame.add(new...
Results 1 to 2 of 2