/[gcjwebplugin]/gcjwebplugin/src/gnu/gcjwebplugin/AppletViewer.java
ViewVC logotype

Diff of /gcjwebplugin/src/gnu/gcjwebplugin/AppletViewer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mkoch, Sat Nov 8 21:48:56 2003 UTC revision 1.7 by mkoch, Sat Nov 8 22:22:34 2003 UTC
# Line 135  public class AppletViewer extends Window Line 135  public class AppletViewer extends Window
135          String code = tag.code;          String code = tag.code;
136          if (code == null)          if (code == null)
137            {            {
138              System.out.println("didn't find code tag");              System.err.println ("didn't find code tag");
139              System.exit(-1);              System.exit(-1);
140            }            }
141          URLClassLoader loader;          URLClassLoader loader;
# Line 240  public class AppletViewer extends Window Line 240  public class AppletViewer extends Window
240      if (dimensions.width < 0)      if (dimensions.width < 0)
241        dimensions.width = (int) (1.6 * dimensions.height);        dimensions.width = (int) (1.6 * dimensions.height);
242    
243      System.out.println (dimensions);      System.err.println (dimensions);
       
244      boolean classFileGiven = false;      boolean classFileGiven = false;
245        
246      for (int i = opts.getOptind (); i < args.length; i++)      for (int i = opts.getOptind (); i < args.length; i++)
247        {        {
248          if (args[i].endsWith(".class"))          if (args[i].endsWith(".class"))
# Line 264  public class AppletViewer extends Window Line 264  public class AppletViewer extends Window
264        }        }
265    
266      // optind now points to the first non-option argument.      // optind now points to the first non-option argument.
267      System.out.println ("raw arguments:");      System.err.println ("raw arguments:");
268        
269      for (int i = 0; i < args.length; i++)      for (int i = 0; i < args.length; i++)
270        System.out.println (" " + args[i]);        System.err.println (" " + args[i]);
271    
272      // Handle each file specified on the command line.      // Handle each file specified on the command line.
273      for (int i = opts.getOptind (); i < args.length; i++)      for (int i = opts.getOptind (); i < args.length; i++)
274        appletTags.addAll (AppletTag.parseAppletTags (args[i]));        appletTags.addAll (AppletTag.parseAppletTags (args[i]));
275    
276      System.out.println ("parsed applet tags:");      System.err.println ("parsed applet tags:");
277    
278      for (int i = 0; i < appletTags.size(); i++)      for (int i = 0; i < appletTags.size(); i++)
279        {        {
280          System.out.println (" tag " + i + ":");          System.err.println (" tag " + i + ":");
281          System.out.println ((AppletTag) appletTags.get (i));          System.err.println ((AppletTag) appletTags.get (i));
282        }        }
283    
284      for (int i = 0; i < appletTags.size(); i++)      for (int i = 0; i < appletTags.size(); i++)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26