Skip to content
← Back to Community
Making A Screen In Java
Profile icon
raur729

I'm relatively new to Java, so is there a way to make a screen for a game or like open up a window?

Answered by mwilki7 [earned 5 cycles]
View Answer
Voters
Profile icon
raur729
Comments
hotnewtop
Profile icon
mwilki7

I believe you would want to work with a Java Swing repl

Profile icon
raur729

Thanks a lot, @mwilki7! What is that?

Profile icon
Vandesm14
Profile icon
mwilki7

@raur729
It is a graphics/user-interface library for Java.
Here are some samples:
https://www.javatpoint.com/java-jbutton
https://www.guru99.com/java-swing-gui.html

They are 2 different things in repl.it because the swing version gives you a window to see the graphics.

Profile icon
raur729

Thanks a ton, @mwilki7!

Profile icon
WillEngbrecht

@mwilki7 is there a language for c++ screens?