From: Arne V. <cob...@us...> - 2005-01-23 20:31:35
|
Update of /cvsroot/jrobin/src/org/jrobin/demo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26216/org/jrobin/demo Modified Files: ComplexDemo.java Log Message: JRobin 2.0 - Additions and related changes Index: ComplexDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/ComplexDemo.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ComplexDemo.java 27 Oct 2004 20:36:25 -0000 1.4 --- ComplexDemo.java 23 Jan 2005 20:31:26 -0000 1.5 *************** *** 40,44 **** * @author Arne Vandamme (cob...@jr...) */ ! class ComplexDemo { private static final String filename = "complexdemo"; --- 40,44 ---- * @author Arne Vandamme (cob...@jr...) */ ! public class ComplexDemo { private static final String filename = "complexdemo"; *************** *** 171,176 **** new GregorianCalendar(2003, 7, 19, 23, 00), Double.MAX_VALUE, Color.RED, "peak period"); ! def.area(new GregorianCalendar(2003, 7, 20, 5, 00), -Double.MAX_VALUE, ! new GregorianCalendar(2003, 7, 20, 8, 30), Double.MAX_VALUE, Color.LIGHT_GRAY, "quiet period\n"); def.comment(" Rise/descend:"); --- 171,176 ---- new GregorianCalendar(2003, 7, 19, 23, 00), Double.MAX_VALUE, Color.RED, "peak period"); ! def.area(new GregorianCalendar(2003, 7, 20, 5, 00), Util.MIN_DOUBLE, ! new GregorianCalendar(2003, 7, 20, 8, 30), Util.MAX_DOUBLE, Color.LIGHT_GRAY, "quiet period\n"); def.comment(" Rise/descend:"); *************** *** 190,194 **** graph.saveAsPNG(pngFile, 500, 300); gifFile = getPath(3, "gif"); ! graph.saveAsGIF(gifFile, 500, 300); jpgFile = getPath(3, "jpg"); graph.saveAsJPEG(jpgFile, 500, 300, 0.6F); --- 190,194 ---- graph.saveAsPNG(pngFile, 500, 300); gifFile = getPath(3, "gif"); ! graph.saveAsGIF(gifFile, 0, 0); jpgFile = getPath(3, "jpg"); graph.saveAsJPEG(jpgFile, 500, 300, 0.6F); |