}\r
}\r
\r
+ AlignFrame.NEW_WINDOW_WIDTH = 700;\r
+ AlignFrame.NEW_WINDOW_HEIGHT = 500;\r
try{\r
param = applet.getParameter("windowWidth");\r
if (param != null)\r
{\r
int width = Integer.parseInt(param);\r
AlignFrame.NEW_WINDOW_WIDTH = width;\r
- System.out.println(param+" "+width);\r
}\r
param = applet.getParameter("windowHeight");\r
if (param != null)\r
{\r
int height = Integer.parseInt(param);\r
AlignFrame.NEW_WINDOW_HEIGHT = height;\r
- System.out.println(param+" "+height);\r
}\r
}catch(Exception ex){}\r
\r
\r
public static void main(String [] args)\r
{\r
- // if(args.length!=1)\r
+ if(args.length!=1)\r
{\r
- // System.out.println("\nUsage: java -jar jalviewApplet.jar fileName\n");\r
- // System.exit(1);\r
+ System.out.println("\nUsage: java -jar jalviewApplet.jar fileName\n");\r
+ System.exit(1);\r
}\r
\r
\r