More SEQUENCE posts
July 22, 2003
SEQUENCE - Couple of answers

Look here for the latest developments and releases of SEQUENCE.

Shiv asked for an example command line to execute SEQUENCE from the classes directory that it is build in. Here's one that works for me. It should all be on one line of course, I split it for "better" presentation

/usr/java/j2sdk1.4.1_02/bin/java 
-cp classes:properties:lib/log4j.jar:lib/jlfgr-1_0.jar
com.zanthan.sequence.swing.Sequence

  • classes is the directory containing the compiled code for SEQUENCE.
  • properties is the directory containing the log4j.xml file that specifies the logging settings. Without this you get a single warning when the program starts, otherwise the program runs fine.
  • log4j.jar contains the code for log4j
  • jlfgr-1_0.jar contains the java look and feel icons from the Java look and feel Graphics Repository
  • com.zanthan.sequence.swing.Sequence the main class

As to the OutOfMemory error on exporting a very large diagram to PNG format, I really don't know what that could be. The ExportAction class uses the javax.imageio.ImageIO static method write to output the image after it has been drawn on a BufferedImage instance. If you put some logging statements in the ExportAction export method you could probably isolate where the problem is. If you send me the file causing the problem I'd be glad to take a look.

Posted by Alex at July 22, 2003 06:34 PM
Comments
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?