• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

AWT- what do I need to know for the Java Certification

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do I need to know for the Java Certification for the Layout managers and AWT? And what are some good rules of thumb to help me remember how the layout managers resize and arrange the elements put in them.
Thanks!
Dale
------------------
By failing to prepare, you are preparing to fail.
Benjamin Franklin (1706 - 1790)
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should be able to:
- Use the Component, Container, and LayoutManager classes to create a GUI with specified appearance and resize behavior.
- Distinguish the responsibilities of layout managers from those of containers
- Implement listener classes and methods and extract event information from an event.
- State the event class name for any specified listener in java.awt.event.
I don't know too many "rules of thumb" for the different layout managers, but in general FlowLayout treats lays out components to a text editor with word wrap, BorderLayout divides the container area much like a food tray, and GridLayout is nothing more than equally-sized cells of space. CardLayout is a stack of containers. Can't think of any q & d to describe GridBagLayout.
Hope this helps,
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
There's a city wid manhunt for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic