JFrame paintComponent()
843806Apr 26 2008 — edited May 13 2008I was trying to replace the standard appearance of a window by creating a class extending JFrame, calling setUndecorated(true), and replacing the paintComponent(Graphics g) method (as is described in the book Swing Hacks from O'Reilly).
However, this doesn't seem to work as expected because the paintComponent() method of the class is never called. How do I solve this problem?