vhardy 2002/06/07 09:35:49 Modified: sources/org/apache/batik/apps/svgbrowser Main.java Log: Fixed bug #5233 Revision Changes Path 1.32 +4 -1 xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java Index: Main.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- Main.java 5 Jun 2002 21:14:46 -0000 1.31 +++ Main.java 7 Jun 2002 16:35:49 -0000 1.32 @@ -56,7 +56,7 @@ * This class contains the main method of an SVG viewer. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: Main.java,v 1.31 2002/06/05 21:14:46 deweese Exp $ + * @version $Id: Main.java,v 1.32 2002/06/07 16:35:49 vhardy Exp $ */ public class Main implements Application { /** @@ -259,6 +259,7 @@ public void run() { try { int i = 0; + for (; i < arguments.length; i++) { OptionHandler oh = (OptionHandler)handlers.get(arguments[i]); if (oh == null) { @@ -266,6 +267,7 @@ } i = oh.handleOption(i); } + JSVGViewerFrame frame = createAndShowJSVGViewerFrame(); while (i < arguments.length) { if (arguments[i].length() == 0) { @@ -384,6 +386,7 @@ UIManager.put("MenuBar.font", fontRes); UIManager.put("ToolBar.font", fontRes); UIManager.put("RadioButton.font", fontRes); + UIManager.put("RadioButtonMenuItem.font", fontRes); UIManager.put("ToggleButton.font", fontRes); UIManager.put("ToolTip.font", fontRes); UIManager.put("ProgressBar.font", fontRes);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]