NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: gori_ua on November 27, 2007, 06:35:57 am



Title: Exporting information from applet
Post by: gori_ua on November 27, 2007, 06:35:57 am
Hello. :) Can any one help me with exporting data from EjS applet to other place? For example i whant to generate report in text or xml format after the experiment.. So, student go through experiment and on each step he adds currnent variable values to some store. After experiment he clicks on the some button and get his personal report. The only thing i need is to get data.


Thanks in advance.


Title: Re: Exporting information from applet
Post by: Fu-Kwun Hwang on November 27, 2007, 08:49:09 am
Please check out _examples/TechnicalExamples/_WritingAndReadingASCII.xml (text data format)
or _examples/TechnicalExamples/_WritingAndReading.xml (bonary data format)
The above examples will show you how to write data into a file.


Title: Re: Exporting information from applet
Post by: gori_ua on November 27, 2007, 01:52:19 pm
Great thanks!