1 / 10

The SIGCSE 2001 Maze Demonstration Program

The SIGCSE 2001 Maze Demonstration Program. Richard Rasala, Jeff Raab, Viera K. Proulx College of Computer Science Northeastern University Boston MA 02115 {rasala,jmr,vkp}@ccs.neu.edu http://www.ccs.neu.edu This work supported by NSF DUE-9950829. The Joy of Toolkits.

kasia
Download Presentation

The SIGCSE 2001 Maze Demonstration Program

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The SIGCSE 2001 MazeDemonstration Program Richard Rasala, Jeff Raab, Viera K. Proulx College of Computer Science Northeastern University Boston MA 02115 {rasala,jmr,vkp}@ccs.neu.edu http://www.ccs.neu.edu This work supported by NSF DUE-9950829

  2. The Joy of Toolkits • The SIGCSE Maze Demo shows that with the proper toolkits it is quite feasible to build demos & laboratories with full graphical user interfaces in a very, very short period of time. • As a consequence, it is no longer necessary to teach freshmen using more primitive interfaces. • See “Toolkits ... A Pedagogical Imperative” in SIGCSE 2000 for further discussion of general issues about using toolkits.

  3. Prove It!Show Some Demos!

  4. Java Power Tools 1 • With powerful encapsulation, use of a GUI view should normally require at most four lines of code: • Construct the view • Position the view in the interface • Send user data from the view to the model • Send model data from the model to the view

  5. Java Power Tools 2 • Encapsulate model view communication as the fundamental backbone of GUI building: • Stringable models • Displayable views • TypedView & GeneralView extend Displayable • Automatic error checking • Automatic error recovery • Enables a recursive philosophy of GUI building

  6. Java Power Tools 3 • Powerful Panels • DisplayPanel: base view that supports model view communication in a recursive fashion • BufferedPanel: graphics view with automatic refresh supported by powerful plot tools • TablePanel: panel for general tables • ActionsPanel: panel to encapsulate actions as buttons • ArrayPanel: panel for user extendible arrays • Zoo: panel for mouse manipulation of items

  7. Java Power Tools 4 • Powerful Widgets • TextFieldView: for strings to models • TextAreaView: for general text • BooleanView: for check boxes • OptionsView: for radio buttons • DropdownView: for dropdown lists • ColorView: for r, g, b, alpha color choosing • SliderView: for slider choice • FileView: for file dialogs

  8. More Demos Please!

  9. Problem Set Framework • The Problem Set Framework is so powerful that we recommend that you use it even if you choose not to use the Java Power Tools in general • PSF works for small problems • PSF is a wonderful tool for unit testing • PSF can be used to integrate multiple apps

  10. Web Site • New Site: http://www.ccs.neu.edu/jpt/ • Old Site for Maze Only: http://www.ccs.neu.edu/teaching/EdGroup/JPT/Maze

More Related