Search:

Type: Posts; User: curmudgeon

Search: Search took 0.09 seconds.

  1. Re: How to retain Graphics after resizing java applet

    You should get rid of your update method, get rid of your drawOval method and do all drawing in the paint(...) method using the Graphics object provided. Be sure to call the super.paint(gm) method...
  2. Re: How to retain Graphics after resizing java applet

    This is not a good way to draw Swing graphics because (as you're finding out) the Graphics object obtained will not be the correct one if a repaint occurs. A better way is as aussiemcgr showed you....
Results 1 to 2 of 2