<div dir="ltr">Hi David,<div><br></div><div>Is this happening while your interpreter is running? GME reads the model only after the MgaProject transaction is complete. You should trigger this by calling MgaProject.CommitTransaction. Then you'll need to create a new transaction with MgaProject.BeginTransactionInNewTerr.<br></div><div><br></div><div>If the changes aren't displayed in GME after your interpreter is finished, something else is going on....</div><div><br></div><div>Kevin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 9:17 AM, Lechevalier, David <span dir="ltr"><<a href="mailto:david.lechevalier@nist.gov" target="_blank">david.lechevalier@nist.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am writing my GME interpreter in JAVA. I am creating a Frame that is popping up in front of the GME window.
<u></u><u></u></p>
<p class="MsoNormal">However, when I click on a specific button, I want to interact with JBuilderModel and JBuilderConnection objects that are in the GME window.<u></u><u></u></p>
<p class="MsoNormal">When I click on the button (so in my code, I am in an action performed function), I am able to use all the “get” functions related to the objects. As soon as I try to use “set” functions, nothing happen in the model, and I don’t get any
error message. (I did all the verification to be sure that the object is not null, etc…problem is occurring as soon as I am in the actionperformed function. Somewhere else, it works well)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am wondering if it is because in an action performed Java is using another thread but I am not sure.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Anyone would have a clue?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
<p class="MsoNormal">David<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
gme-users mailing list<br>
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>
<a href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users" rel="noreferrer" target="_blank">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users</a><br>
<br></blockquote></div><br></div>