CSC 216 Lecture Notes - Lecture 21: Standard Widget Toolkit, Abstract Window Toolkit, Checkbox

68 views5 pages
8 Nov 2016
School
Course
Professor

Document Summary

Users interact with programs via user interfaces: text-based, gui- graphical user interface. Guis consists of components (frame, containers, and widgets) Guis are a part of the model view control design: model view control is a common type of design pattern used for developing programs. Controller: translates between view and model: view and controller are tightly coupled in guis. View (how the object is presented) and controller (how events on the object are processed) belong to one ui object. Use generic components (ie jbutton) which delegate to the underlying (cid:862)look a(cid:374)d feel(cid:863) (cid:894)ie the operati(cid:374)g s(cid:455)ste(cid:373)(cid:895) Swing classes typically begin with a j. Eclipse gui library: swt: standard widget toolkit. A group of options where only one can be selected. A group of options where 0 to all can be selected. Editable multiline area of text with ability to scroll. A component that can hold other components or panels. Swing components: top level containers: top of any swing containment hierarchy.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents