|
From: Márcio V. d. S. <mv...@us...> - 2007-10-31 19:53:06
|
Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/help In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18814/src/java/net/sf/tails/swing/help Modified Files: HelpFrame.java Log Message: Index: HelpFrame.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/help/HelpFrame.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** HelpFrame.java 29 Oct 2007 16:48:36 -0000 1.3 --- HelpFrame.java 31 Oct 2007 19:53:01 -0000 1.4 *************** *** 9,12 **** --- 9,13 ---- import java.awt.Toolkit; import java.io.File; + import java.net.URL; import java.util.ResourceBundle; *************** *** 36,40 **** try{ File file = new File(bundle.getString("HELP_FILE")); ! jEditorPane1.setPage("file:////"+file.getAbsolutePath()); }catch(Exception e){ e.printStackTrace(); --- 37,42 ---- try{ File file = new File(bundle.getString("HELP_FILE")); ! //jEditorPane1.setPage("file:////"+file.getAbsolutePath()); ! jEditorPane1.setPage(new URL("http://tail.cvs.sourceforge.net/*checkout*/tail/TailS/Data/Help/TailSHelp.html?revision=1.1#Runner")); }catch(Exception e){ e.printStackTrace(); |