samples - JHotDraw Samples As part of the JHotDraw...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
JHotDraw Samples As part of the JHotDraw framework we include a number of sample applications and applets that demonstrate various aspects of JHotDraw. 1. JavaDrawApp 2. JavaDrawApplet 3. JavaDrawViewer 4. PertApp/PertApplet 5. Nothing 6. Net Note: To run the sample applets inside a browser requires a browser with JDK1.1 support. 1. JavaDrawApp This sample illustrates various standard tools and figures provided with JHotDraw. For a description of its features refer to the help document . It uses a custom drawing subclass BouncingDrawing to implement a bouncing figures feature. The animation support is attached to a figure with a AnimationDecorator. Support for attaching URLs to figures is implemented by URLTool. You can start the application with: java org.jhotdraw.samples.javadraw.JavaDrawApp The drawings directory includes some sample drawings. They can be loaded with the open command from the file menu. Note your CLASSPATH has to include the absolute path to the JHotDraw directory otherwise you will run into class loading problems. 1. JavaDrawApplet
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/21/2009 for the course CS cs taught by Professor Cs during the Spring '09 term at University of the Bío-Bío.

Page1 / 2

samples - JHotDraw Samples As part of the JHotDraw...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online