Steps involved in creating a effective GUI (Graphical User Interfaces) in Java
1. Design the GUI on paper.
2. Get feedback from users.
3. Decide if the class that will display the GUI extends a Container, or has references to a Container.
( This choice will effect to some extend the flexibility of the class. If the purpose of a class is to be a GUI then extend from a Container.)
4. Create references to all components used in the GUI as attributes of the class.
5. Implement a contructor that creates instances of all the components used.
6. Select a layout manager fo each of the containers.
7. Assemble the components in a window or a frame.
8. Set the size of the container.
9. Make the container visible.
A peep into SAP
15 years ago
No comments:
Post a Comment