Inside the JBuilder OpenTools API
Chapter 18 - Node Viewers

Previous   Next   Listings

The GIFEditor example defines a new node viewer for GIF files, allowing you to edit their content within JBuilder.

Zipped Files

GIFEditor.jpx   The project file for this tool
GIFEditor.html Project notes
classes.opentools The OpenTools manifest
GIFEditorViewerFactory.java The entry point for the tool - a factory that creates viewers for GIF images on demand
GIFEditorViewer.java The viewer definition - which creates the actual UI page on demand
PixelEditor.java The pixel editing component that interacts with JBuilder's buffers to load and save the image - based on code written by Claude Duguay in a JavaPro article
GIFEncoder.java A file format encoder for GIF images - from Acme Laboratories
GIFStructure.java A Structure Pane component that displays a preview of the image
*.java Supporting code for this tool
GIFEditor.jar The packaged tool
GIFEditorDoc.jar The packaged documentation
Inside the JBuilder OpenTools API 2004, Keith Wood Previous   Next   Listings