Recent Changes - Search:

Information Foreword What is EJS? Demos/Examples Credits Links Webcasts Installation Download & Install EJS Workspaces Running EJS Conditions of Use Documentation EJS Console EJS Interface Description Panel Model Panel View Panel Deployment Elements Reference User Feedback English | Spanish | ? ? View Edit History Print PDF (back to index) (edit this in the feed-back web form) Title Problems with text windows Type Other Raised by Renan Coimbra? Date opened Saturday, 6 June 2009 Description Hi !! 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!! sorry for bad english =/ i think this is not the correct place to talk about this, sorry, if someone can aswer me at renanvec@gmail.com, i`ll be glad UPDATE 7/06/2009 Oh great!! showDescription works fine, but showDescriptionAtStartUp doesnt work!! i`m using the latest version, i download after saw your aswer, and i try to put the method in INICIALIZATION page, but doesnt compile!! 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 !! Importance 5 Proposed solution This is an interesting issue! Showing/Hiding the description can be done with the line: _simulation.showDescription(true) and _simulation.showDescription(false) Hence, you can add a button and use the first of these lines in the button Action property to show the description. Alas, the description shows in full. You cannot select only one of the pages. However, there was no method to tell the simulation NOT to display the description on start up. Urgency 3 Status Closed Resolution I have thus added one such method. _simulation.showDescriptionAtStartUp(false); will now do the trick. But you need to update to the latest EJS. (This was written on June 7th, 2009.) 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. (back) « 00034 · Edit Form · 00036 »

Edit - History - Print - Recent Changes - Search
Page last modified on June 08, 2009, at 12:50 AM