Assignment 3(Building Components Using Swing and
JavaFX)
2. What do you mean by Layout Management? What are different types of layout
management? Explain any one in detail?
3. What are GUI controls of swing? Explain any two in details?
4. Differentiate between JavaFX and Swing?
5. Write the similarities between JavaFX and Swing?
6. What are different JavaFX layouts? Explain them?
7. List out different JavaFX UI controls? And explain any two in them?
8. Define Event Handling? What are different classes for Event Handling?
9. Define Listeners in Event Handling? List out different classes in Listeners
classes?
10. Differentiate between Dialogs and Frames?
11. Write down the JavaFX code to design a login page of your own when user
click on login button test the username is “PU” and password is
“PU@2025Spring” or not.
12. Define stage and scene in JavaFX. Explain any two JavaFX layout managers.
13. Create a GUI application with two buttons “RED” and “GREEN”. When clicking
“RED” button change background of “GREEN” button to red and clicking
“GREEN” button change background of “RED” button to green. Also, console
button clicked Message.