answersLogoWhite

0

What is Java Swing Frame?

Updated: 8/19/2019
User Avatar

Anandvijayakumar

Lvl 1
12y ago

Best Answer

A top-level window (i.e., a window that is not contained inside another window) is called a frame in Java. The AWT library has a class, called Frame, for this top level. The Swing version of this class is called JFrame and extends the Frame class. The JFrame is one of the few Swing components that is not painted on a canvas. Thus, the decorations (buttons, title bar, icons, and so on) are drawn by the user's windowing system, not by Swing

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Java Swing Frame?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are swing components?

Swing Components are elements like a Frame, Button, Panel etc that can be used as part of Java Swings to create User Interfaces.


Is java swing technology or language?

swing technology


Why swing is used in java?

Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.


How do you create a e-passport website using java swing?

You really don't want to do that. Swing is for desktop applications. If you want to create a website, use Java Server Faces or Applets, not Swing.


How do you make a GUI Frame java program?

The best way, in my opinion, is to use the class JFrame in the swing package. Simply import java.swing.JFrame and create a new JFrame with the Frame's title as the sole parameter. You will also need to setVisible to true.


What is font class in java?

It is a part of swing package.


Is it easy to design chat server in java swing?

Yes.


Why would someone need a Java swing?

Java Swing might be needed by someone because Swing provides a native look and feel that matches the look and feel of several platforms, with more powerful and flexible components than AWT.


What is a getContentPane method in Java?

The getContentPane() method is used to get the main component in a Java Swing JFrame. It is usually a JPanel.


How can you run frame program in java?

Same as that of the applet we need to run this frame...........


What is the difference between swing and swing events?

Java Swings is a technology that is used to create User Interface Components using Java. Swing Events are a part of this technology that is used to handle user actions like click of a button or closing the component etc


How do you set the constant textarea in java?

we can set the value of constant text area in Java in swing by creating a object of Jframe