review text material covered –culwin: chapter 8 threads –johnson: chapters 9, 10, 1 through p.44...

6
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

Upload: jada-stevenson

Post on 27-Mar-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 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

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

Page 2: 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

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 user’s view of the task– Don’t complicate the user’s task– Promote learning

Page 3: 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 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)

Page 4: 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

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?

Page 5: 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

Swing Concepts con’t

• 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?

Page 6: 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

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).