JButton Action Help

Can someone help with this code plz. I am trying to get the next JLabel to appear after the Jbutton is clicked but it won’t go to the next one(fact2, fact3...etc). Plz help!!! https://code.sololearn.com/cxdk7WSOAbYW/?ref=app

1st Oct 2019, 10:19 PM
Jacques Cozart
Jacques Cozart - avatar
1 Answer
I don't think you can run java swings classes on sololearn playground. Try running your code on any other online compiler which support java swings or use neatbeans on you PC. This is the online compiler I find : https://repl.it/languages/java_swing Use if this help!!
2nd Oct 2019, 1:32 AM
Chirag Kumar
Chirag Kumar - avatar