answersLogoWhite

0


Best Answer

I highly recommend you to use javax.swing.JFrame

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In java what is the import statement needed to use button components in applets or GUI applications?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which are the AWT components in Java?

AWT stands for Abstract window toolkit. AWT gives us the components using which we can create User- Interface based applications in java. Some of the components are: a. Frame b. Panel c. Window d. CheckBox e. RadioButton f. Button g. TextBox h. TextArea i. Etc


What is difference between java applet and java Swing?

An applet is a Java program embedded in an HTTP document. When the HTTP document is loaded into a web browser, the Java program executes on the web. A widget = window gadget, a GUI (graphical user interface) control. A GUI control, such as a command button, is accessed by the user via a mouse click or by the keyboard. GUI programs can run on one's PC.


What is the difference between component and container?

A component is an object, like a button or a scroll bar. It has a visual representation. A container is a window-like component that can contain other components. Every component has a unique container that directly contains it.


How do you unlock buttons with Javascript?

HTML buttons have a property called "Disabled" which either disables (grays out) the button enables it (default). This property can be accessed through Javascript DOM by the following statement: document.getElementById("<the button ID>").disabled = true | false; Use "false" if you want to unlock a button, and "true" if you want to lock it


How do you make a button click another button?

This is not possible, but you can make it appear that way, for example, get a video component, set the visible to false, get a button, make the video play an animation of a clicked button, and once another button is clicked the orignal button dissapears and the video player appears and plays a short animation of a clicked button.

Related questions

When you are ready to approve your statement?

Click the approve statement button


How do you approve your statement when you are ready to approve your statement?

Click the approve statement button


When you are ready to approve your statement how do you approve you statement?

Click the approve statement button


When you are ready to approve your statement how do approve your statement?

Click the approve statement button


When your are ready to approve your statement how do you approve your statement?

Click the approve statement button


Which are the AWT components in Java?

AWT stands for Abstract window toolkit. AWT gives us the components using which we can create User- Interface based applications in java. Some of the components are: a. Frame b. Panel c. Window d. CheckBox e. RadioButton f. Button g. TextBox h. TextArea i. Etc


What and where is the Microsoft office button?

The Microsoft Office button is on all Office 2007 applications, it is located at the top left of the applications and looks like 4 interlinking squares surrounded by a circle.


How Do you get System Preferences Back On your Mac Pro?

open finder click on applications (if there's no button that says 'Applications', open the top button on the sidebar and there should be folder titled applications there). find System Preferences in the list. Click on it to open.


To shut down windows when no applications are loaded?

the f button!!


What are five ways for you to get your phone to work?

Charge it, ensure it has credit, Check if the applications are working, Switch on the start button and uptate the applications.


Where can I find applications for taking a software testing course?

The best place to find applications is in the market. They are easy to find using the search button.


How do you undo a command in Excel?

Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.Yes, there is an Undo button in Excel just like in other Microsoft applications. It works in the same way, allowing you to undo certain things.