Interactors - • The CENTER region is typically where the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
The Swing Interactor Hierarchy With exception of IntField and DoubleField , all of these classes live in the javax.swing package. JComponent AbstractButton JSlider JLabel JComboBox JButton JToggleButton JTextComponent JCheckBox JRadioButton JTextField IntField DoubleField acm.gui ButtonGroup Based on slides by Eric Roberts Window Regions In graphics or console Program , window divided into 5 regions:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • The CENTER region is typically where the action takes place. • ConsoleProgram adds a console to the CENTER region • GraphicsProgram puts a GCanvas there. • Other regions visible only if you add an interactor to them. • Interactors are placed in Control Bars CENTER NORTH SOUTH W E S T E A S T Based on slides by Eric Roberts...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online