0% found this document useful (0 votes)
12 views3 pages

Advanced Java GUI Practical Assignments

Uploaded by

yashuop46
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

Advanced Java GUI Practical Assignments

Uploaded by

yashuop46
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GLS UNIVERSITY

GLS INSTITUTE OF COMPUTER APPLICATIONS


SUBJECT: Advanced Java Practical
BCA Sem – V
Practical Assignment – IV

1. Write a Java program that will Create one frame with a JtoggleButton with two values
“ON” and “OFF”. When the button is clicked the values must be print on terminal
screen.

2. Write a Java program that will Create one frame with two checkboxes. When the user
selects any checkbox the choice should be printed on the terminal.

3. Write a Java program that will Create one frame with a Jlist with four values shown in
image.

4. Write a Java program that will Create one frame with JscrollBar. The value of the
JscrollBar must be print on the lable.
5. Write a Java program that will Create one frame with JtextField and Jbutton just shown
in the image. The action must be perform on a button click and an output must be shown
in a textfield.

6. Write a Java program that will Create one frame with a JPasswordField shown in image.
7. Write a Java program that will Create one frame with a JtextArea.
8. Write a Java program that will Create one frame with a JComboBox with five values
shown in image.

9. Write a Java program that will Create one frame with a JMenuItem, JMenu, JmenuBar
shown in image.

10. Write a Java program that will Create one frame with a JRadioButton with two values
“MALE” and “FEMALE”. When the button is clicked the values must be print on
terminal screen.

You might also like