Skip to content
Sign upLog in
← Back to Community

How do I create a GUI in Java using this website?

Profile icon
MaximEnis

Whenever I try to create a GUI using the repl IDE, the GUI doesn't work. Moreover, after looking up "Java GUI" programs and running them they always fail to function. How can I create a GUI in Java using repl.it?

Voters
Profile icon
CadenceCenters
Profile icon
memmojs
Profile icon
Aksh10
Profile icon
x1xxBOBxx1x
Profile icon
JOHNIACONO
Profile icon
BharagthRavindh
Profile icon
MaximEnis
Comments
hotnewtop
Profile icon
Zeune

If you would like to come back as of yesterday repl.it introduced Java Swing capabilities. When you go to select your language choose "Java Swing," instead of "Java."

Profile icon
timmy_i_chen

@Zeune
Thanks! :)

Profile icon
SangeetS

@Zeune
THANK YOU, THANK YOU, THANK U!!!!! You just saved my life :)

Profile icon
Prowse

Would it be possible to add an HTML page and we could embed the output in that page?

Profile icon
timmy_i_chen

We don't support GUIs in Java yet, sorry :(

Profile icon
PhilAnderson

@timmy_i_chen Are there any plans to add this? If so, any idea when it will be implemented?

Profile icon
Zeune

@PhilAnderson
They have been added. You can choose to program in the Java Swing language when you go to create a new project.

Profile icon
PhilAnderson

@Zeune
Awesome, thanks!