+ 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
1 Answer
+ 5
Unfortunately, Java gui framework don't work at the code playground.