NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 13, 2017, 08:33:26 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Post picture  (Read 5479 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
on: March 30, 2010, 05:48:42 pm » posted from:,,Brazil

Hello Prof  Smiley
I have a question about picture after i finish develop simulation
And put picture about simulation that i develop in another window
When i change my PC and run simulation on another PC picture no A valuable
Even i save picture in simulation by run option "User file" but even that when change PC
Picture not A valuable
What the problem prof  Huh
Respect
Ahmed
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #1 on: March 30, 2010, 11:08:38 pm » posted from:,,Brazil

Hello Prof  Smiley
I'm wait your answer about my ask because i don't know
What i do in this problem
Respect
Ahmed
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #2 on: March 30, 2010, 11:47:15 pm » posted from:Taipei,T\'ai-pei,Taiwan

Did you copy the xml file to another machine and open it with EJS  -- this would not be able to find picture.
or
Did you copy the jar file to another and run it, then right click to selec open ejs model? -- the picture will be included in the jar file.

The xml is just a file contain information about the simulation. It did not contain any related resource file.
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #3 on: March 30, 2010, 11:51:22 pm » posted from:,,Brazil

what i mean prof when run jar file on another PC
Is work but pictures and logos that i add Not a valuable
But if have pictures and logos the same that i add in simulation
Pictures a valuable so i don't know what the problem ejs
No accept save picture after convert to jar
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #4 on: March 31, 2010, 12:05:23 am » posted from:,,Brazil

Sorry Prof for me no explain right
I mean PC that i develop simulation have pictures and logos i add OK
After i finish simulation and convert to jar file,,i change PC so i discover
Simulation is work but all logos and pictures and logos that i add Not a valuable
In simulation when i back by jar file to PC that have pictures and logo and run
Simulation all pictures and logos get right and come a available in simulation
I'm try know how i save picture and logos in jar simulation to when convert to jar file work in any PC
With all pictures and logos i add
Respect
Ahmed
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #5 on: March 31, 2010, 12:12:47 am » posted from:Taipei,T\'ai-pei,Taiwan

There is another button(picture) just below the top-right cornor (the one below close ejs window button)

Click that button and you will find another popup window.
The second tab is options and files.
You should add extral user files (click the check mark)

If you do not know how to do it. You can try to post your simulation as part of forum message:

You will find a checkbox labeled "Upload new EJS jar file" when you post message or reply to this message.

Please click that check box, and you can upload the jar file, and the EJS simulation will be added at the end of the message. ( or use can add [ejsapplet] and it will be replaced with simulation, too)

I need to have your jar file to test it out.
Or you can attach xml file and image file so that I can download them to test it.

It is 1:15 am now. I need to go to bed. I will try to answer your question when I wake up in the morning.
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #6 on: March 31, 2010, 05:24:39 pm » posted from:,,Brazil

Hi prof i triad alote for do like what you explain but
After i add from user files and convert to jar after
I change PC for test is the same problem so I'll now send you jar file
Of simulation and logos
Thanks really
Respect
Ahmed


* CNEC.png (49.22 KB, 400x151 - viewed 340 times.)

* logo-oficial-noas-01.png (18.08 KB, 216x72 - viewed 331 times.)

*** There are 2 more attached files. You need to login to acces it!
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #7 on: April 01, 2010, 11:10:41 am » posted from:Taipei,T'ai-pei,Taiwan

May be it is due to you have used some special local characters such that I was not able to load GUI elements from xml file.

In order to solve the local character problem, you can save the EJ´╝│source with .ejs extension.
It was announced that  EJS 4.2.7 will support local character when save as .ejs file.
May be we can check out thios feature.

Could you upload the .ejs file for me to test it out.
Logged
Pages: [1]   Go Up
  Print  
"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
EM wave picture of soil from 20-30 feet above
Electromagnetics
subny2012 0 4936 Last post April 11, 2012, 10:39:39 am
by subny2012
How do I post my .jar file in the forum?
Questions related to EJS
LeeTl 6 27617 Last post December 14, 2014, 05:40:59 pm
by diinxcom
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.064 seconds with 24 queries.since 2011/06/15