I'm having another problem with my not so dear friend = swing programming.
I have a JFrame, to which I add a JPanel. The paintComponent() method inside JPanel, simply displays a text in the panel.
When I "resize" / "minimize then maximize" the frame, my panel doesn't get displayed.
I don't know if I have to call any repaint() / validate () / update() methods (they really get me confused) or if I'm missing anything else.