<?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: Setting status-bar components</title>
	<atom:link href="http://undocumentedmatlab.com/blog/setting-status-bar-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://undocumentedmatlab.com/blog/setting-status-bar-components/</link>
	<description>Charting Matlab's unsupported hidden underbelly</description>
	<lastBuildDate>Thu, 09 Sep 2010 11:59:30 -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/setting-status-bar-components/comment-page-1/#comment-3417</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Thu, 22 Oct 2009 22:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=478#comment-3417</guid>
		<description>Aurélien - you are correct: For performance reasons, the statusbar object is not really deleted when you issue
&lt;pre lang=&quot;matlab&quot;&gt;statusbar;&lt;/pre&gt;
Instead, it is simply made invisible using the root-pane&#039;s &lt;i&gt;setStatusBarVisible(0)&lt;/i&gt; method in line #222. Then, when you recreate the statusbar, adding the internal handles to the CornerGrip, TextPanel and ProgressBar fails, since these properties already exist in the old (previously-hidden) statusbar object.

Your solution, to comment line #263, is probably the easiest and best.</description>
		<content:encoded><![CDATA[<p>Aurélien &#8211; you are correct: For performance reasons, the statusbar object is not really deleted when you issue</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">statusbar;</pre></div></div>

<p>Instead, it is simply made invisible using the root-pane&#8217;s <i>setStatusBarVisible(0)</i> method in line #222. Then, when you recreate the statusbar, adding the internal handles to the CornerGrip, TextPanel and ProgressBar fails, since these properties already exist in the old (previously-hidden) statusbar object.</p>
<p>Your solution, to comment line #263, is probably the easiest and best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aurélien Queffurust</title>
		<link>http://undocumentedmatlab.com/blog/setting-status-bar-components/comment-page-1/#comment-3409</link>
		<dc:creator>Aurélien Queffurust</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=478#comment-3409</guid>
		<description>Hello Yair,

I am using statusbar in my codes since I prefer waitbar docked. I wanted to know how to delete this object in a safe way.
In the help, I can read that the command
&lt;pre lang=&quot;matlab&quot;&gt;statusbar;&lt;/pre&gt;

 deletes status bar from current figure. But I had to comment the line 263 :
&lt;pre lang=&quot;matlab&quot;&gt;lasterr&lt;/pre&gt;
 to prevent the message : Property Name already in use . It happens each time I recreate a statusbar or when I display a dialog box.

I guess that :
&lt;pre lang=&quot;matlab&quot;&gt;jProgressBar.setVisible(0);&lt;/pre&gt;
is not enough to delete this object.

Thanks,
Aurélien</description>
		<content:encoded><![CDATA[<p>Hello Yair,</p>
<p>I am using statusbar in my codes since I prefer waitbar docked. I wanted to know how to delete this object in a safe way.<br />
In the help, I can read that the command</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">statusbar;</pre></div></div>

<p> deletes status bar from current figure. But I had to comment the line 263 :</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">lasterr</span></pre></div></div>

<p> to prevent the message : Property Name already in use . It happens each time I recreate a statusbar or when I display a dialog box.</p>
<p>I guess that :</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">jProgressBar.<span style="">setVisible</span><span style="color: #080;">&#40;</span><span style="color: #33f;">0</span><span style="color: #080;">&#41;</span>;</pre></div></div>

<p>is not enough to delete this object.</p>
<p>Thanks,<br />
Aurélien</p>
]]></content:encoded>
	</item>
</channel>
</rss>
