(back to index) (edit this in the feed-back web form)
I want to open the description window clicking in a button, not when the simulation opens… how can i do that???
i try to save as html and open with readText method, but doesnt work…
if its possible, i want to write 3 diferent tabs in DESCRIPTION, and open each one with 3 diferent buttons in my main program window.
please, i need learn this quicly!!
UPDATE 7/06/2009
Oh great!!
am i using wrong or need to do anything else to use the method showDescriptionAtStartUp ??
just another question, using showDescription (and showDescriptionAtStartUp in the future) can i choose what tab of DESCRIPTION will be opened in foreground ??
thanks for the help !!
Showing/Hiding the description can be done with the line:
_simulation.showDescriptionAtStartUp(false);
To show a single page, you may use a TextArea if the instructions are plain text. If you need HTML, you will need to create the page yourself using plain Java code. Such as using a javax.swing.JEditorPane.
|