Documentation

Button 0Button 1Button 2


JavaDocs

Getting and building the latest version from source

  1. Download and install Apache Ant

  2. Download the latest version of build.xml from Sourceforge. Save it to the root of the directory you wish to download all the source files.

  3. Open a command prompt and type ant checkout. This will get the latest source files from Sourceforge.

  4. To build FractalJ, type ant build at the command prompt.

  5. ant run will now start the compiled application. For more options, ant -projecthelp will list the commands available in build.xml.


Writing your own module

Writing your own module requires a minimum of one class. Simply create a class that extends the org.fractalj.ui.AbstractOutputPanel class. Extending this abstract class will require you to implement 3 methods. They are:

  • draw(): This method draws any output to the protected field m_graph. The base class will take care of the double buffering.

  • getDefaultViewBounds(): This should return a org.fractalj.util.Bounds instance representing the real world (i.e. cartesian) bounds of the output.

  • getTitle(): Returns the title of the module that will be used in the title bar of the window and any menus.

Once implemented, add the class to the list of org.fractalj.ui.AbstractPanels listed in the org.fractalj.panels preference. The module will automatically be added to the contents when the application starts up.

SourceForge.net Logo