Ask coding questions

← Back to all posts
3
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
4
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."

1
SangeetS (0)

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

1
Prowse (0)

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

1
timmy_i_chen (934)

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

1
PhilAnderson (0)

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

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