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; |
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")) |
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++) |