<?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: Transparent labels	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/transparent-labels/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/transparent-labels?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=transparent-labels</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 18 May 2016 07:19:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/transparent-labels#comment-377127</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 18 May 2016 07:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6403#comment-377127</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/transparent-labels#comment-377095&quot;&gt;Collin Pecora&lt;/a&gt;.

It is best to create all Matlab GUI components on the EDT (using Matlab&#039;s built-in &lt;i&gt;&lt;b&gt;javaObjectEDT&lt;/b&gt;&lt;/i&gt; function) and then add them to the GUI using the &lt;a href=&quot;http://undocumentedmatlab.com/blog/javacomponent&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;i&gt;&lt;b&gt;javacomponent&lt;/b&gt;&lt;/i&gt; function&lt;/a&gt;. Any other way to add Java components to Matlab GUI may have undesirable effects (&lt;a href=&quot;http://undocumentedmatlab.com/blog/matlab-and-the-event-dispatch-thread-edt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;additional info&lt;/a&gt;).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/transparent-labels#comment-377095">Collin Pecora</a>.</p>
<p>It is best to create all Matlab GUI components on the EDT (using Matlab&#8217;s built-in <i><b>javaObjectEDT</b></i> function) and then add them to the GUI using the <a href="http://undocumentedmatlab.com/blog/javacomponent" target="_blank" rel="nofollow"><i><b>javacomponent</b></i> function</a>. Any other way to add Java components to Matlab GUI may have undesirable effects (<a href="http://undocumentedmatlab.com/blog/matlab-and-the-event-dispatch-thread-edt" target="_blank" rel="nofollow">additional info</a>).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Collin Pecora		</title>
		<link>https://undocumentedmatlab.com/articles/transparent-labels#comment-377095</link>

		<dc:creator><![CDATA[Collin Pecora]]></dc:creator>
		<pubDate>Wed, 18 May 2016 00:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6403#comment-377095</guid>

					<description><![CDATA[Sorry if I am off topic, don&#039;t know how you would like new questions.
 
I have a standard matlab function that returns a formatted javax.swing.JLabel, the JLabel is created on the EDT, basically a label factory. My GUI is matlab class based.  Using the external function to create labels in the GUI class crashes matlab, no hang, just straight to desktop.  The same code as a static method in the main GUI class causes no problems.  Is the issue creating java objects on the EDT in two different memory spaces?.  Do I need to create static labels on the EDT?

Sincerly

Collin]]></description>
			<content:encoded><![CDATA[<p>Sorry if I am off topic, don&#8217;t know how you would like new questions.</p>
<p>I have a standard matlab function that returns a formatted javax.swing.JLabel, the JLabel is created on the EDT, basically a label factory. My GUI is matlab class based.  Using the external function to create labels in the GUI class crashes matlab, no hang, just straight to desktop.  The same code as a static method in the main GUI class causes no problems.  Is the issue creating java objects on the EDT in two different memory spaces?.  Do I need to create static labels on the EDT?</p>
<p>Sincerly</p>
<p>Collin</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
