Search:

Type: Posts; User: evert67

Search: Search took 0.11 seconds.

  1. Re: How does repaint work in combination with paintComponent (Graphics class)?

    I already messed with the code. What I found out is that the code actually works as if the first repaint removes the red box: if you remove that line, the red box remains displayed also at its old...
  2. Re: How does repaint work in combination with paintComponent (Graphics class)?

    Thanks, this clarifies it a bit. But what I still don't understand is how the first invocation of repaint causes the red box to be wiped out.
  3. Re: How does repaint work in combination with paintComponent (Graphics class)?

    Yup. Are these forums somehow connected and, if so, is there a preferred place?
  4. How does repaint work in combination with paintComponent (Graphics class)?

    I’m teaching myself AWT/Swing using an Oracle tutorial. There’s a section a don’t fully understand.

    It concerns an application that creates dynamic graphics using the Graphics class. I understand...
Results 1 to 4 of 4