Hello,
I’m working on a game which currently has a strange issue. When I start the application all I get is a gray window. When I resize the window (or even just click on the edge) the grahics suddenly appear and everything is fine from then on.
I have a class that extends JFrame as a window, I add a class that extends JPanel for the view and I override paintComponent in the JPanel to add the graphics. I know the view is correctly created (using System.out.println) only the graphics don’t start updating until i resize.
I’m probably missing something very simple here, but I haven’t got a clue what it is 
(If you need to see the actual code feel free to ask, but I didn’t think it would clarify anything and only make things more complicated)