vhardy 2003/07/09 01:26:37 Modified: test-sources/org/apache/batik/swing JSVGCanvasHandler.java NullURITest.java test-references/samples/tests/spec/interactivity cursor.png focus.png test-references/samples/tests/spec/scripting bug12933.png filterPatternUpdate.png gradientsUpdate.png imageUpdate.png markerUpdate.png maskClipUpdate.png svg.png svg2.png use.png Log: Fixed size issue in JSVGRenderingAccuracyTest and NullURITest Revision Changes Path 1.4 +3 -2 xml-batik/test-sources/org/apache/batik/swing/JSVGCanvasHandler.java Index: JSVGCanvasHandler.java =================================================================== RCS file: /home/cvs/xml-batik/test-sources/org/apache/batik/swing/JSVGCanvasHandler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JSVGCanvasHandler.java 9 Jul 2003 02:10:12 -0000 1.3 +++ JSVGCanvasHandler.java 9 Jul 2003 08:26:36 -0000 1.4 @@ -127,8 +127,9 @@ public void run() { frame = new JFrame(delegate.getName()); canvas = createCanvas(); + canvas.setPreferredSize(new Dimension(450, 500)); frame.getContentPane().add(canvas); - frame.setSize(new Dimension(450, 500)); + frame.pack(); wl = new WindowAdapter() { public void windowClosing(WindowEvent e) { synchronized (loadMonitor) { 1.4 +3 -2 xml-batik/test-sources/org/apache/batik/swing/NullURITest.java Index: NullURITest.java =================================================================== RCS file: /home/cvs/xml-batik/test-sources/org/apache/batik/swing/NullURITest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- NullURITest.java 8 Jul 2003 00:16:58 -0000 1.3 +++ NullURITest.java 9 Jul 2003 08:26:36 -0000 1.4 @@ -40,7 +40,8 @@ final String monitor = "monitor"; f.getContentPane().add(canvas); - f.setSize(new Dimension(450, 500)); + canvas.setPreferredSize(new Dimension(450, 500)); + f.pack(); f.setVisible(true); // This class is not fool-proof: it assumes that the 1.2 +147 -103 xml-batik/test-references/samples/tests/spec/interactivity/cursor.png <<Binary file>> 1.2 +40 -17 xml-batik/test-references/samples/tests/spec/interactivity/focus.png <<Binary file>> 1.2 +37 -33 xml-batik/test-references/samples/tests/spec/scripting/bug12933.png <<Binary file>> 1.2 +227 -220 xml-batik/test-references/samples/tests/spec/scripting/filterPatternUpdate.png <<Binary file>> 1.2 +101 -105 xml-batik/test-references/samples/tests/spec/scripting/gradientsUpdate.png <<Binary file>> 1.2 +33 -38 xml-batik/test-references/samples/tests/spec/scripting/imageUpdate.png <<Binary file>> 1.2 +51 -124 xml-batik/test-references/samples/tests/spec/scripting/markerUpdate.png <<Binary file>> 1.2 +41 -43 xml-batik/test-references/samples/tests/spec/scripting/maskClipUpdate.png <<Binary file>> 1.2 +15 -8 xml-batik/test-references/samples/tests/spec/scripting/svg.png <<Binary file>> 1.2 +20 -6 xml-batik/test-references/samples/tests/spec/scripting/svg2.png <<Binary file>> 1.2 +28 -24 xml-batik/test-references/samples/tests/spec/scripting/use.png <<Binary file>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]