<?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: JTattoo look-and-feel demo	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jtattoo-look-and-feel-demo</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 27 Jul 2015 20:06:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: nasan		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-353897</link>

		<dc:creator><![CDATA[nasan]]></dc:creator>
		<pubDate>Mon, 27 Jul 2015 20:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-353897</guid>

					<description><![CDATA[Hi Yair,
I&#039;ve seen the demo but when I adapt it into my gui code gcbf is not recognize. 
How can I resolve it ? Can you give me a simply implementation in gui]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
I&#8217;ve seen the demo but when I adapt it into my gui code gcbf is not recognize.<br />
How can I resolve it ? Can you give me a simply implementation in gui</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-351527</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Thu, 18 Jun 2015 17:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-351527</guid>

					<description><![CDATA[Hi Yair,
Thanks for the post. You can also do a lot to customize the appearance of each LaF by using the public &#039;setTheme&#039; method, which accepts a java.util.Properties object (the full set of customizable properties can be found &lt;a href=&quot;http://www.jtattoo.net/ThemeProps.html&quot; rel=&quot;nofollow&quot;&gt; Here &lt;/a&gt;). This works well the very first time you set a particular LaF for a figure in the current MATLAB session. However, it seems that if you change some of the properties, and then build another figure with that same LaF, only a subset of those changes are actually registered. For example, if I set the &#039;menuSelectionBackgroundColor&#039; and &#039;menuBackgroundColor&#039; properties for the GraphiteLookAndFeel, only the &#039;menuSelectionBackgroundColor&#039; property change has any subsequent effect. So far, restarting MATLAB seems to be the only fix. I&#039;m currently using 2013a on a mac OSX system. Any thoughts would be appreciated!
Cheers!]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Thanks for the post. You can also do a lot to customize the appearance of each LaF by using the public &#8216;setTheme&#8217; method, which accepts a java.util.Properties object (the full set of customizable properties can be found <a href="http://www.jtattoo.net/ThemeProps.html" rel="nofollow"> Here </a>). This works well the very first time you set a particular LaF for a figure in the current MATLAB session. However, it seems that if you change some of the properties, and then build another figure with that same LaF, only a subset of those changes are actually registered. For example, if I set the &#8216;menuSelectionBackgroundColor&#8217; and &#8216;menuBackgroundColor&#8217; properties for the GraphiteLookAndFeel, only the &#8216;menuSelectionBackgroundColor&#8217; property change has any subsequent effect. So far, restarting MATLAB seems to be the only fix. I&#8217;m currently using 2013a on a mac OSX system. Any thoughts would be appreciated!<br />
Cheers!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Using pure Java GUI in deployed Matlab apps &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-327702</link>

		<dc:creator><![CDATA[Using pure Java GUI in deployed Matlab apps &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Thu, 10 Jul 2014 21:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-327702</guid>

					<description><![CDATA[[...] like to welcome repeat guest blogger Karthik Ponudurai, who has previously written here about the JTattoo look-and-feel, and about integration of Java controls&#8217; events with Matlab callbacks. Today, Karthik [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] like to welcome repeat guest blogger Karthik Ponudurai, who has previously written here about the JTattoo look-and-feel, and about integration of Java controls&#8217; events with Matlab callbacks. Today, Karthik [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: HAC		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315414</link>

		<dc:creator><![CDATA[HAC]]></dc:creator>
		<pubDate>Sat, 22 Feb 2014 23:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-315414</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315363&quot;&gt;Yair Altman&lt;/a&gt;.

Ah, that explains it.  Thanks, Yair.  Perhaps other LNFs (weblaf, PgsLookAndFeel, etc.) are the same way as well.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315363">Yair Altman</a>.</p>
<p>Ah, that explains it.  Thanks, Yair.  Perhaps other LNFs (weblaf, PgsLookAndFeel, etc.) are the same way as well.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315363</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 22 Feb 2014 16:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-315363</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315242&quot;&gt;HAC&lt;/a&gt;.

@HAC - JTattoo LNFs cannot be used like simple LNFs. Take a look at the source code of the utility to see how they can be used.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315242">HAC</a>.</p>
<p>@HAC &#8211; JTattoo LNFs cannot be used like simple LNFs. Take a look at the source code of the utility to see how they can be used.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: HAC		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-315242</link>

		<dc:creator><![CDATA[HAC]]></dc:creator>
		<pubDate>Fri, 21 Feb 2014 22:53:34 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-315242</guid>

					<description><![CDATA[Somewhere I have a fundamental misunderstanding of how to access third-party .jar files.  This *seems* straightforward enough to me, but it doesn&#039;t appear to work:

&lt;pre lang=&quot;matlab&quot;&gt; 
hFig = figure;
hc = uiflowcontainer(&#039;v0&#039;, &#039;Units&#039;, &#039;norm&#039;, &#039;Position&#039;, [0.1 0.1 0.8 0.8]);
h1 = uicontrol(&#039;String&#039;, &#039;One&#039;, &#039;Parent&#039;, hc);
javaaddpath ./JTattoo-1.6.10.jar;
m = javax.swing.UIManager();
oldLF = m.getLookAndFeel;
newLFName1 = &#039;com.jtattoo.plaf.aero.AeroLookAndFeel&#039;; % This one fails!
newLFName2 = &#039;com.jgoodies.looks.plastic.Plastic3DLookAndFeel&#039;; % This one works!
m.setLookAndFeel(newLFName1);
[j2, h2] = javacomponent(javax.swing.JButton(&#039;Two&#039;)); 
set(h2, &#039;Parent&#039;, hc);
m.setLookAndFeel(oldLF);
&lt;/pre&gt;

I expect to see two buttons, each with a different look and feel.  However, I&#039;ve tried every iteration of accessing the jtattoo LaF&#039;s and can&#039;t seem to set them.  The .jar shows up when I type &#039;javaclasspath&#039;, so I think it should be accessible.  This same error occurs regardless of which LaF I try to access from the JTattoo library, as well as any other 3rd-party library.  However, if I use &#039;newLFName2&#039; above, things work nicely.

So, I suspect I&#039;m not understanding how to access the 3rd-party classes correctly.  Any advice for a beginner?]]></description>
			<content:encoded><![CDATA[<p>Somewhere I have a fundamental misunderstanding of how to access third-party .jar files.  This *seems* straightforward enough to me, but it doesn&#8217;t appear to work:</p>
<pre lang="matlab"> 
hFig = figure;
hc = uiflowcontainer('v0', 'Units', 'norm', 'Position', [0.1 0.1 0.8 0.8]);
h1 = uicontrol('String', 'One', 'Parent', hc);
javaaddpath ./JTattoo-1.6.10.jar;
m = javax.swing.UIManager();
oldLF = m.getLookAndFeel;
newLFName1 = 'com.jtattoo.plaf.aero.AeroLookAndFeel'; % This one fails!
newLFName2 = 'com.jgoodies.looks.plastic.Plastic3DLookAndFeel'; % This one works!
m.setLookAndFeel(newLFName1);
[j2, h2] = javacomponent(javax.swing.JButton('Two')); 
set(h2, 'Parent', hc);
m.setLookAndFeel(oldLF);
</pre>
<p>I expect to see two buttons, each with a different look and feel.  However, I&#8217;ve tried every iteration of accessing the jtattoo LaF&#8217;s and can&#8217;t seem to set them.  The .jar shows up when I type &#8216;javaclasspath&#8217;, so I think it should be accessible.  This same error occurs regardless of which LaF I try to access from the JTattoo library, as well as any other 3rd-party library.  However, if I use &#8216;newLFName2&#8217; above, things work nicely.</p>
<p>So, I suspect I&#8217;m not understanding how to access the 3rd-party classes correctly.  Any advice for a beginner?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-276287</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 02 Oct 2013 18:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-276287</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-275936&quot;&gt;kilojoules&lt;/a&gt;.

@Kilojoules - of course you can - read here: &lt;a href=&quot;http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-275936">kilojoules</a>.</p>
<p>@Kilojoules &#8211; of course you can &#8211; read here: <a href="http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/" target="_blank" rel="nofollow">http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kilojoules		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-275936</link>

		<dc:creator><![CDATA[kilojoules]]></dc:creator>
		<pubDate>Wed, 02 Oct 2013 01:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-275936</guid>

					<description><![CDATA[Yair, Thank you so much for this. I just want to how to use the Jtattoo LnF&#039;s UIcontrols in making a new GUI in matlab. I have only experience making GUI in matlab by using matlab GUIDE. Is it possible that I can change the design of the UIcontrols in matlab GUIDE? How can I do it?

Thanks.]]></description>
			<content:encoded><![CDATA[<p>Yair, Thank you so much for this. I just want to how to use the Jtattoo LnF&#8217;s UIcontrols in making a new GUI in matlab. I have only experience making GUI in matlab by using matlab GUIDE. Is it possible that I can change the design of the UIcontrols in matlab GUIDE? How can I do it?</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-211735</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 12 Jun 2013 16:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-211735</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-211726&quot;&gt;Digna&lt;/a&gt;.

@Digna - I normally use &#039;/folder/file&#039; format for compatibility (this works on all platforms), it was simply an oversight in this case... - thanks for pointing it out]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-211726">Digna</a>.</p>
<p>@Digna &#8211; I normally use &#8216;/folder/file&#8217; format for compatibility (this works on all platforms), it was simply an oversight in this case&#8230; &#8211; thanks for pointing it out</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Digna		</title>
		<link>https://undocumentedmatlab.com/articles/jtattoo-look-and-feel-demo#comment-211726</link>

		<dc:creator><![CDATA[Digna]]></dc:creator>
		<pubDate>Wed, 12 Jun 2013 15:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3687#comment-211726</guid>

					<description><![CDATA[Very interesting, thanks! Just a small suggestion: To make you code cross-platform,  in the file JTattooDemo.m you could change the line:
&lt;pre lang=&quot;matlab&quot;&gt;javaclasspath( {folder, [folder &#039;\JTattoo.jar&#039;]} );&lt;/pre&gt;
to:
&lt;pre lang=&quot;matlab&quot;&gt;javaclasspath( {folder, [folder filesep &#039;JTattoo.jar&#039;]} );&lt;/pre&gt;
because in GNU/Linux the file separator is &quot;/&quot; and not &quot;\&quot;   :)]]></description>
			<content:encoded><![CDATA[<p>Very interesting, thanks! Just a small suggestion: To make you code cross-platform,  in the file JTattooDemo.m you could change the line:</p>
<pre lang="matlab">javaclasspath( {folder, [folder '\JTattoo.jar']} );</pre>
<p>to:</p>
<pre lang="matlab">javaclasspath( {folder, [folder filesep 'JTattoo.jar']} );</pre>
<p>because in GNU/Linux the file separator is &#8220;/&#8221; and not &#8220;\&#8221;   🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
