Java Swing Interview Questions


  1. What do you understand from Java Swing?
  2. State the difference between Sewing and AWT components?
  3. What is container? Discuss the name of containers which use border layouts as default?
  4. Discuss different types of container class? Explain each with the help of an example?
  5. Which method is used to identify a container’s layout?
  6. Explain GUI? How GUI does handle its own events?
  7. Give definition of paint () and repaint ()? What is the difference between these two?
  8. Explain peerless components? Discuss a container in GUI? How does a container functions in GUI?
  9. Name the package which holds light package components?
  10. Explain layout manager? Discuss the different types of layout manger available in Java Swing? How do these layout managers work?
  11. Explain the different elements present in GribBagLayout?
  12. What is the difference between Java layout manager and traditional windows system? How is java manger better than traditional windows system?
  13. Which different components support painting? What is enable Events() method? Why it is used in Java Swing?

Category: Software Interview Questions

Leave a Reply