<?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: GUI integrated browser control</title>
	<atom:link href="http://undocumentedmatlab.com/blog/gui-integrated-browser-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/</link>
	<description>Charting Matlab's unsupported hidden underbelly</description>
	<lastBuildDate>Tue, 07 Sep 2010 22:25:59 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yair Altman</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-15699</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Wed, 18 Aug 2010 16:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-15699</guid>
		<description>@Arnaud - here&#039;s a much lighter-weight alternative:
&lt;pre lang=&quot;matlab&quot;&gt;
iconsClassName = &#039;com.mathworks.widgets.BusyAffordance$AffordanceSize&#039;;
iconsSizeEnums = javaMethod(&#039;values&#039;,iconsClassName);
SIZE_32x32 = iconsSizeEnums(2);  % (1) = 16x16
jObj = com.mathworks.widgets.BusyAffordance(SIZE_32x32,&#039;testing...&#039;);
javacomponent(jObj.getComponent,[10,10,80,80],gcf);
jObj.start;
    % do some long operation...
jObj.stop;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Arnaud &#8211; here&#8217;s a much lighter-weight alternative:</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">iconsClassName = <span style="color:#A020F0;">'com.mathworks.widgets.BusyAffordance$AffordanceSize'</span>;
iconsSizeEnums = javaMethod<span style="color: #080;">&#40;</span><span style="color:#A020F0;">'values'</span>,iconsClassName<span style="color: #080;">&#41;</span>;
SIZE_32x32 = iconsSizeEnums<span style="color: #080;">&#40;</span><span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>;  <span style="color: #228B22;">% (1) = 16x16</span>
jObj = com.<span style="">mathworks</span>.<span style="">widgets</span>.<span style="">BusyAffordance</span><span style="color: #080;">&#40;</span>SIZE_32x32,<span style="color:#A020F0;">'testing...'</span><span style="color: #080;">&#41;</span>;
javacomponent<span style="color: #080;">&#40;</span>jObj.<span style="">getComponent</span>,<span style="color: #080;">&#91;</span><span style="color: #33f;">10</span>,<span style="color: #33f;">10</span>,<span style="color: #33f;">80</span>,<span style="color: #33f;">80</span><span style="color: #080;">&#93;</span>,<span style="color: #0000FF;">gcf</span><span style="color: #080;">&#41;</span>;
jObj.<span style="">start</span>;
    <span style="color: #228B22;">% do some long operation...</span>
jObj.<span style="">stop</span>;</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Arnaud</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-15678</link>
		<dc:creator>Arnaud</dc:creator>
		<pubDate>Wed, 18 Aug 2010 11:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-15678</guid>
		<description>Hi Yair,

I&#039;m designing a dialog similar to a throbber, indicating that some computation is running, but autonomous, contrary to matlab&#039;s native waitbar. In order to save CPU ressources, i try to take advantages of animated GIF. After having considered timer functions for refreshing an axes, i finaly came out to use an HTML browser that can render basic animated GIFs. Your tip provides me a great solution, however, i&#039;m wondering how i can remove the scrollbars that appear when i set the url to any image file : &lt;pre lang=&quot;matlab&quot;&gt;browser.setCurrentLocation(&#039;toto.gif&#039;);&lt;/pre&gt;
I can&#039;t see any method dealing with scrolling by typing :&lt;pre lang=&quot;matlab&quot;&gt;methodsview(browser)&lt;/pre&gt;
I will try to work on browser size, but i appreciate if you can provide some hints. 
Thanks. 
Arnaud</description>
		<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>I&#8217;m designing a dialog similar to a throbber, indicating that some computation is running, but autonomous, contrary to matlab&#8217;s native waitbar. In order to save CPU ressources, i try to take advantages of animated GIF. After having considered timer functions for refreshing an axes, i finaly came out to use an HTML browser that can render basic animated GIFs. Your tip provides me a great solution, however, i&#8217;m wondering how i can remove the scrollbars that appear when i set the url to any image file :</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">browser.<span style="">setCurrentLocation</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'toto.gif'</span><span style="color: #080;">&#41;</span>;</pre></div></div>

<p>I can&#8217;t see any method dealing with scrolling by typing :</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">methodsview<span style="color: #080;">&#40;</span>browser<span style="color: #080;">&#41;</span></pre></div></div>

<p>I will try to work on browser size, but i appreciate if you can provide some hints.<br />
Thanks.<br />
Arnaud</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yair Altman</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-7024</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-7024</guid>
		<description>@Sid - I don&#039;t think so. Even regular browsers need to use Acrobat (or another PDF reader like Foxit) to display PDF.</description>
		<content:encoded><![CDATA[<p>@Sid &#8211; I don&#8217;t think so. Even regular browsers need to use Acrobat (or another PDF reader like Foxit) to display PDF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sid</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-7017</link>
		<dc:creator>Sid</dc:creator>
		<pubDate>Tue, 09 Feb 2010 03:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-7017</guid>
		<description>Hi Yair, 
Is it possible to view non-html links, say, a pdf file from within the matlab web browser? That should be without opening a new acrobat reader window.
Thanks
Sid</description>
		<content:encoded><![CDATA[<p>Hi Yair,<br />
Is it possible to view non-html links, say, a pdf file from within the matlab web browser? That should be without opening a new acrobat reader window.<br />
Thanks<br />
Sid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar Ingestrom</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-6334</link>
		<dc:creator>Gunnar Ingestrom</dc:creator>
		<pubDate>Fri, 22 Jan 2010 17:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-6334</guid>
		<description>Thanks for a great tip! I have been struggling with the limited HTML capabilities of the JEditorPane but now you gave me a solution that really works out of the box.</description>
		<content:encoded><![CDATA[<p>Thanks for a great tip! I have been struggling with the limited HTML capabilities of the JEditorPane but now you gave me a solution that really works out of the box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Orr</title>
		<link>http://undocumentedmatlab.com/blog/gui-integrated-browser-control/comment-page-1/#comment-5219</link>
		<dc:creator>Ken Orr</dc:creator>
		<pubDate>Tue, 15 Dec 2009 10:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-5219</guid>
		<description>Thanks Yair! I&#039;ll do what I can to help influence Java on the Mac.</description>
		<content:encoded><![CDATA[<p>Thanks Yair! I&#8217;ll do what I can to help influence Java on the Mac.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
