Is there any method to execute Java program with Java Swing in Sololearn Code Playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is there any method to execute Java program with Java Swing in Sololearn Code Playground?

I've tried simple code like following: import javax.swing.JFrame; public class Program{ public static void main(String[] args){ JFrame f=new JFrame(); f.setVisible(true); } } This code always gives me 'Time limit exceeded'. I want to use Swing in Sololearn. Do you guys know any method to execute Java Swing in Sololearn?

31st Mar 2017, 4:18 AM
OrbitHv [Inactive]
OrbitHv [Inactive] - avatar
1 Answer
+ 7
As of now, it's not possible. Sololearn may add it in the coming updates.
31st Mar 2017, 1:50 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar