CS 451 Programming Paradigms
Week Fourteen
Lecture 27 : Tuesday, 4/25/00
- Discussed some general questions about grades and the final
- Discussed the Model-View-Controller paradigm for GUI programming
- Went over example of making closeable frames
- Surveyed features of Swing: components, layout managers, etc.
- Looked at CenteredTest example for getting screen sizes and adjusting locations etc.
- Looked at HelloWorld examples demonstrating use of paintComponent
- Looked at ButtonTest example for placing components (Buttons) on a panel and registering the panel as a listener with an actionPerformed method to respond to button click events
Lecture 28 : Thursday, 4/27/00
- Etch-a-Sketch example, further demonstrating event listening
- Radio Button group example demonstrating component creation and composition
- Looked at the details of managing custom events and the system event queue
- Looked at example of obtaining images and ensuring their successful loading before proceeding with drawing them
[ Back to CS451: Lecture Summaries ]