Home › Forums › PeerfactSim Forum › Running Simulator
- This topic has 4 replies, 1 voice, and was last updated 10 years, 8 months ago by
Anas Anis.
-
AuthorPosts
-
May 21, 2015 at 8:47 pm #974
Arman Sheikholeslami
GuestI am trying to run the simulator but when I double click on the
runGui.bat file a page is opened but it is out of the coordination of
my Monitor! I managed to bring the page to the coordination of (0,0)
by setting setLocation function to (0,0) but all other pages still
open out side of my monitor! What do you suggest?May 21, 2015 at 8:48 pm #975Matthias Feldotto
GuestIt looks like a problem in your Java or environment settings and not like a problem of the simulator. Have you tried other Java GUIs? I think they will behave similarly.
Nevertheless, to work with the simulator without solving the problem, using the setLocation method of the frame is a good idea. To use all windows you should set the method in all of the following classes:
de.tud.kom.p2psim.impl.util.guirunner.progress.RichProgressView
de.tud.kom.p2psim.impl.util.guirunner.GUIRunner
de.tud.kom.p2psim.impl.vis.ui.common.UIMainWindowThese are all graphical user interfaces which should appear during a normal simulation. But for solving the intial problem you should look at your environment and test other java programs.
May 21, 2015 at 8:48 pm #976Kalman
GuestDear Arman,
it would be helpful to give further details, such as what operating
system do you use and which simulator version. Do you use an external
monitor?
What did you try to solve the problem …I remember, that I also had once a similar issue. I used Windows and
missed an external monitor, which was used by the GUI. For me it
helped to right-click on the simulator tab in the task bar and to
select move, thus, I could shift the window to the main screen I used.Best regards
May 21, 2015 at 8:48 pm #977Arman Sheikholeslami
GuestDear Dr. Graffi,
I use Windows 7 Ultimate and the simulator version is 2011-10-24 but
as Mr. Feldi mentioned I reset seLocation of those three methods to
(0,0) and it is working! As he also said I believe it might be a
problem of Java environment.May 21, 2015 at 8:49 pm #978Anas Anis
GuestHello everybody
I think the best solution for this is modifying the file guiCfg
\config.xml by setting the value of each occurrence of the attributes
PosX and PosY to be 0. These two attributes can be found only in few
entries of the beginning of this xml file.@Arman: this will solve our yesterday’s problem of seeing the dialogue
of exporting the results. -
AuthorPosts
- You must be logged in to reply to this topic.