hi everybody,
I'm prepare to upload. But when i
test the program on
Java Runtime, i found that the online help can't display. But when i test it on development version, it is no problem.
In the introduction.html, sun said"Your submission must run under a production (not development) version of Sun's Java 2 Platform."
I think the production version is the runtime enviroment. Am i right? what do you think?
The below source code is how to display the online documet:
URL helpURL=new URL(documentationURL);
JEditorPane editorPane = new JEditorPane();
editorPane.setContentType("text/html");
editorPane.setPage( helpURL );
editorPane.setEditable(false);
editorPane.addHyperlinkListener( this );
JScrollPane helpScrollPane = new JScrollPane(editorPane);
Container contentPane = menuMain.getContentPane();
contentPane.removeAll();
contentPane.add( helpScrollPane );
menuMain.show();
Any comments please! thanks!
stephen