From: Suzanna L. <su...@us...> - 2002-02-28 00:15:29
|
Update of /cvsroot/gmod/apollo/src/java/apollo/gui In directory usw-pr-cvs1:/tmp/cvs-serv3215/apollo/gui Modified Files: Config.java Log Message: using name adapter to generate URLs unique to FB project, keep the nose clean Index: Config.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/gui/Config.java,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** Config.java 14 Feb 2002 22:27:13 -0000 1.56 --- Config.java 27 Feb 2002 19:06:45 -0000 1.57 *************** *** 151,155 **** } ! public static String getBrowserProgram() { return browserProgram; } public static String getFileName() { --- 151,157 ---- } ! public static String getBrowserProgram() { ! return browserProgram; ! } public static String getFileName() { *************** *** 352,356 **** tiersFile = dataDir + "/tiers.dat"; adapterHistoryFile = dataDir + "/history"; ! try { --- 354,369 ---- tiersFile = dataDir + "/tiers.dat"; adapterHistoryFile = dataDir + "/history"; ! String osname = System.getProperty("os.name"); ! System.out.println (osname + " OS"); ! if (osname.startsWith ("Windows")) { ! browserProgram = null; ! } ! else if (osname.startsWith ("Linux")) { ! browserProgram = "mozilla"; ! } ! else { ! browserProgram = "netscape"; ! } ! try { |