Ask coding questions

← Back to all posts
Debugging my screen creator
hawlitza (0)

I just want to create a usable screen so I can make a game later.

Commentshotnewtop
08KINPLIX (77)

I make screens all the time

hawlitza (0)

@08KINPLIX cool. how do you do it?

08KINPLIX (77)

@hawlitza JFrame f = new JFrame("My Screen");
Game g = new Game();
f.setBounds(x, y, w, h)
f.setVisible(true)
f.add(g)