You're doing a couple things that make me nervous:
1. Calling Component's getGraphics method -- and in a constructor, too!
That method is best avoided since it makes no persistent changes
in the component. When you repaint, that rendering will not be redone.
2. Overriding JFrame's paint method. Think art: the job of a frame is
to hold a painting, not to *be* the painting.
BTW -- I think this
thread belongs in the "Swing / other things" forum.
I don't see the "other APIs" manifesting themselves...
[ November 22, 2005: Message edited by: Jeff Albrechtsen ]