Download presentation
Presentation is loading. Please wait.
Published byJada Stevenson Modified over 11 years ago
1
Review Text Material Covered –Culwin: Chapter 8 threads –Johnson: Chapters 9, 10, 1 through p.44 –Swing: Chapter 1-15 Lessons Learned –Concepts of concurrency/synchronization –What an interface designer does –What skills an interface designer has –What knowledge an interface designer draws on –Difference between design and implementation –Architecture of Swing (and any Windows) applications –Swing container classes and their libraries
2
Questions that Could be Asked How do concurrent objects interact –What goes wrong with concurrent code and why? –What does thread-safe mean? –How does Java synchronize threads? What lessons can be drawn from –Eudora Pro installation case –Kodak Picture Disk case –A Fork in the Tale Experience –Satellite box interface case What is the content of these principles: –Focus on users, not technology –Consider function first, presentation later –Conform to the users view of the task –Dont complicate the users task –Promote learning
3
What should be understood about Swing? What is the role of –JFrame class (what does an instance look like, what is the instance used for, what are the options for creating and accessing an instance) –JDialog class (how is it different from a JFrame instance, what does an instance look like, when is it used, how is it created and accessed) –What is a Japplet (how is it similar and different from the other two)
4
Swing Concepts What is an InternalJFrame and how is it used? What is a JPanel and how is it used? What is a ScrollPane and how is it used? –What are the components of a scrollpane –How does the viewpoint interact with scrollbars? What is a SplitPane and how is it used? What is a TabbedPane and how is it used? What is a ToolBar and how is it used? What is a Layered Pane and how is it used? What is a RootPane and how is its LayeredPane, ContentPane and GlassPane used?
5
Swing Concepts cont What is Layout management and how is it invoked? How are events handled? –What kinds of events occur in a GUI? –How is the event transmitted to a Listener What goes on when paint() and repaint() are invoked, and what caused them to be called? What are the new features that Swing adds to the awt of Java1.1? –What is a LookandFeel? –What are icons?
6
Quiz Questions We have studied several examples (the author talks about snippets, the book has the entire code in the back). Given a demo class definition, you should be able to annotate it similar to the way I annotated the GlassPaneDemo (if I place an at a statement you could explain what that statement accomplishes).
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.