You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2002/06/07 18:35:49 UTC

cvs commit: xml-batik/sources/org/apache/batik/apps/svgbrowser Main.java

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:stephane@hillion.org">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: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org