how is frame() different from jframe()

General Frame is AWT and heavy weight where JFrame is light weight component that extends Frame. You can find more info on each from their documentation or check this article by IBM - SWT, Swing or AWT: Which is right for you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.