0

Why not do ??

package firsttest ; import javax.swimg.*; public FirstFrame extends JFrame { public FirstFrame() { setTitle ("QOU University "); setSize(20,20); setLocation(20,20); } } public class FirstTest { public static void main(String[] args) { JFrame frame= new FirstFrame (); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.show(); } }

20th Apr 2017, 8:25 PM
ميسم عرباسي
ميسم عرباسي - avatar
4 Answers
+ 1
problem is syntax error like swimg-->swing, but let me give u advice dont use swing at all use javafx it is so much better
20th Apr 2017, 9:54 PM
Haileyesus Shitalem
Haileyesus Shitalem - avatar
+ 1
ther are some syntax essors like swimg instead of swing. In the code playground graphical input is not supported.
20th Apr 2017, 9:14 PM
seamiki
seamiki - avatar
0
!!
20th Apr 2017, 8:26 PM
ميسم عرباسي
ميسم عرباسي - avatar
0
thank you all
21st Apr 2017, 2:58 AM
ميسم عرباسي
ميسم عرباسي - avatar