Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)

Can anyone help me what is the difference between Frame and JFrame? As many of the programmer use JFrame and some are use Frame only.

1 Answer

0 votes
by (26.7k points)

Basically, Frame comes under AWT component whereas, JFrame comes under Swing Component. Also, JFrame comes with a lot of functionality and flexibility. Also, JFrame extends from Frame only.

I hope this will help.

Want to become a Java Expert? Join Java Certification now!!

Want to know more about Java? Watch this video on Java Course | Java Tutorial for Beginners:

Related questions

0 votes
1 answer
0 votes
1 answer
asked Nov 20, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer

Browse Categories

...