<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Matlab and the Event Dispatch Thread (EDT)	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=matlab-and-the-event-dispatch-thread-edt</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 24 Jun 2019 09:51:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yiftach		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484448</link>

		<dc:creator><![CDATA[Yiftach]]></dc:creator>
		<pubDate>Mon, 24 Jun 2019 09:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-484448</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484289&quot;&gt;Yiftach&lt;/a&gt;.

Thanks Yair! I will give it a try

Yiftach]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484289">Yiftach</a>.</p>
<p>Thanks Yair! I will give it a try</p>
<p>Yiftach</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484297</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 23 Jun 2019 14:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-484297</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484289&quot;&gt;Yiftach&lt;/a&gt;.

@Yiftach - you can use App Designer and related uifigures/controls - this displays the GUI in a webpage which does not use Java Swing or EDT.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484289">Yiftach</a>.</p>
<p>@Yiftach &#8211; you can use App Designer and related uifigures/controls &#8211; this displays the GUI in a webpage which does not use Java Swing or EDT.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yiftach		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-484289</link>

		<dc:creator><![CDATA[Yiftach]]></dc:creator>
		<pubDate>Sun, 23 Jun 2019 13:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-484289</guid>

					<description><![CDATA[Hi Yair,
Thanks a lot for all the examples and information. I have a short question - is there a way to create a matlab GUI off the EDT, i.e. make a matlab GUI which runs on a different thread? I&#039;m using matlab as an interface to a 3rd party application (MicroManager), which uses EDT according to its developers. It seems like matlab&#039;s GUI is interfering with their GUI. Is there a way to bypass this problem somehow? I would greatly appreciate your reply

Thank you very much in advance,
Yiftach]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Thanks a lot for all the examples and information. I have a short question &#8211; is there a way to create a matlab GUI off the EDT, i.e. make a matlab GUI which runs on a different thread? I&#8217;m using matlab as an interface to a 3rd party application (MicroManager), which uses EDT according to its developers. It seems like matlab&#8217;s GUI is interfering with their GUI. Is there a way to bypass this problem somehow? I would greatly appreciate your reply</p>
<p>Thank you very much in advance,<br />
Yiftach</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jim Hokanson		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-418913</link>

		<dc:creator><![CDATA[Jim Hokanson]]></dc:creator>
		<pubDate>Mon, 05 Feb 2018 04:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-418913</guid>

					<description><![CDATA[Hi Yair,

I&#039;m interested in the last little bit on the callbackOnEDTQueue() function at the end. In testing this seems to solve my problem of trying to delay running a computation until some later point in time, allowing the rest of the axes to render following a xlim change.
https://www.mathworks.com/matlabcentral/answers/368964-queue-addlistener-events-or-place-event-on-edt

This seems like an alternative to the following post: http://undocumentedmatlab.com/blog/matlab-callbacks-for-java-events#comment-418911

Where my general use case would be to call the notify event (in the linked blog post) directly from Matlab: i.e. &lt;code&gt;evt.notifyMyTest&lt;/code&gt; rather than from Java as the linked post is really about.

Am I understanding the callbackOnEDTQueue() function correctly, that it appears to serve the same functionality as the evt class in the link, without the need for writing a Java class and adding it to the Matlab path? 

I guess I am confused by this statement:
&lt;pre lang=&quot;matlab&quot;&gt;
%Note that the function is still executing on the main Matlab thread. This
%function just delays when it will be called.
&lt;/pre&gt;

What are the practical implications of that statement?

Thanks as always,
Jim]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>I&#8217;m interested in the last little bit on the callbackOnEDTQueue() function at the end. In testing this seems to solve my problem of trying to delay running a computation until some later point in time, allowing the rest of the axes to render following a xlim change.<br />
<a href="https://www.mathworks.com/matlabcentral/answers/368964-queue-addlistener-events-or-place-event-on-edt" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/answers/368964-queue-addlistener-events-or-place-event-on-edt</a></p>
<p>This seems like an alternative to the following post: <a href="http://undocumentedmatlab.com/blog/matlab-callbacks-for-java-events#comment-418911" rel="ugc">http://undocumentedmatlab.com/blog/matlab-callbacks-for-java-events#comment-418911</a></p>
<p>Where my general use case would be to call the notify event (in the linked blog post) directly from Matlab: i.e. <code>evt.notifyMyTest</code> rather than from Java as the linked post is really about.</p>
<p>Am I understanding the callbackOnEDTQueue() function correctly, that it appears to serve the same functionality as the evt class in the link, without the need for writing a Java class and adding it to the Matlab path? </p>
<p>I guess I am confused by this statement:</p>
<pre lang="matlab">
%Note that the function is still executing on the main Matlab thread. This
%function just delays when it will be called.
</pre>
<p>What are the practical implications of that statement?</p>
<p>Thanks as always,<br />
Jim</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Julien		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-405706</link>

		<dc:creator><![CDATA[Julien]]></dc:creator>
		<pubDate>Sun, 30 Apr 2017 17:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-405706</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399213&quot;&gt;Peter&lt;/a&gt;.

Hi Peter

May I ask if you found a solution to the tab-completion issue ?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399213">Peter</a>.</p>
<p>Hi Peter</p>
<p>May I ask if you found a solution to the tab-completion issue ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399213</link>

		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Mon, 30 Jan 2017 09:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-399213</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399113&quot;&gt;Peter&lt;/a&gt;.

Hi Yair,
thank you for your answer. Please let me know when something comes to your mind.
Best regards and thanks again,
Peter]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399113">Peter</a>.</p>
<p>Hi Yair,<br />
thank you for your answer. Please let me know when something comes to your mind.<br />
Best regards and thanks again,<br />
Peter</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399146</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 28 Jan 2017 17:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-399146</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399113&quot;&gt;Peter&lt;/a&gt;.

I have no immediate answer on this]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399113">Peter</a>.</p>
<p>I have no immediate answer on this</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-399113</link>

		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Fri, 27 Jan 2017 14:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-399113</guid>

					<description><![CDATA[Hi Yair,
I am building a pure Java Swing GUI for our backend Matlab application. Matlab starts the GUI using the javaObjectEDT() method. Unfortunately, running the GUI in this thread makes Matlab&#039;s tab-completion unresponsive. Do you have an idea where this might come from and how to circumvent it?
Thank you very much for your help
Regards,
Peter]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
I am building a pure Java Swing GUI for our backend Matlab application. Matlab starts the GUI using the javaObjectEDT() method. Unfortunately, running the GUI in this thread makes Matlab&#8217;s tab-completion unresponsive. Do you have an idea where this might come from and how to circumvent it?<br />
Thank you very much for your help<br />
Regards,<br />
Peter</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-367266</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 12 Jan 2016 17:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-367266</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-367265&quot;&gt;bambi&lt;/a&gt;.

@Bambi - take a look here: http://undocumentedmatlab.com/blog/java-class-access-pitfalls]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-367265">bambi</a>.</p>
<p>@Bambi &#8211; take a look here: <a href="http://undocumentedmatlab.com/blog/java-class-access-pitfalls" rel="ugc">http://undocumentedmatlab.com/blog/java-class-access-pitfalls</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bambi		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-and-the-event-dispatch-thread-edt#comment-367265</link>

		<dc:creator><![CDATA[bambi]]></dc:creator>
		<pubDate>Tue, 12 Jan 2016 16:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1198#comment-367265</guid>

					<description><![CDATA[Hello Yair,
Is there a chance to create a table with one image icon type (or button like, if possible) column using javaObjectEDT and some default table/cell renderers and editors? 
I implemented my own Image Renderer derived from DefaultTableCellRenderer java class (with one label and one imageIcon attributes), compiled &#038; tested it using simple java program, zipped the .java and .class files (+ added one .png icon) but javaObjectEDT function ignores it completely and throws an exception : &quot;No class ImageRenderer can be located on the Java class path&quot;.
What would you recommend me?
Many thanks]]></description>
			<content:encoded><![CDATA[<p>Hello Yair,<br />
Is there a chance to create a table with one image icon type (or button like, if possible) column using javaObjectEDT and some default table/cell renderers and editors?<br />
I implemented my own Image Renderer derived from DefaultTableCellRenderer java class (with one label and one imageIcon attributes), compiled &amp; tested it using simple java program, zipped the .java and .class files (+ added one .png icon) but javaObjectEDT function ignores it completely and throws an exception : &#8220;No class ImageRenderer can be located on the Java class path&#8221;.<br />
What would you recommend me?<br />
Many thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
