Ask coding questions

← Back to all posts
How do I create a GUI in Java using this website?
MaximEnis (2)

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?

Commentshotnewtop
Zeune (14)

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."

SangeetS (0)

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

Prowse (1)

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

timmy_i_chen (960)

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

PhilAnderson (0)

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

Zeune (14)

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