Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
2.4k views
in Computer by (69.8k points)

Write steps to create a GUI application in java.

1 Answer

+1 vote
by (69.2k points)
selected by
 
Best answer

1. Define a container to hold components. Examples of containers are : J Frame, J panel, J Dialog etc. 

2. Add required GUI components/widgets to the container. Example of GUI components are : J Button, J Label, J Text Field etc. 

3. Use Layout Manager to determine position and size of components. 

4. Add action to GUI by adding event listeners to GUI components. 

5. Save and test run your GUI application.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...