+ 2

can we write and run codes using java swing in code playground

i cant run code like this why import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import javax.script.ScriptEngineManager; import javax.script.ScriptEngine; import javax.script.ScriptException; class Calculator extends JFrame implements ActionListener { private static final int FRAME_WIDTH = 300; private static final int FRAME_HEIGHT = 220; private static final int FRAME_X = 150; private static final int FRAME_Y = 100; priva

4th Sep 2017, 6:42 AM
rahul mishra
rahul mishra - avatar
1 Answer
+ 5
Unfortunately, Java gui framework don't work at the code playground.
26th Sep 2017, 9:04 PM
Tashi N
Tashi N - avatar