<?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>Mon, 21 May 2012 11:05:42 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/setting-status-bar-components/#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-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>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              b7666
Template:           single
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: undocumentedmatlab.com @ 2012-05-21 19:23:05 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          blog/setting-status-bar-components/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.475s
Header info:
X-Pingback:         http://undocumentedmatlab.com/blog/xmlrpc.php
Set-Cookie:         wpgb_visit_last_php-default=1337653385; expires=Wed, 22-May-2013 02:23:05 GMT; path=/
Link:               <http://undocumentedmatlab.com/?p=478>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Tue, 22 May 2012 02:23:05 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Tue, 22 May 2012 03:23:05 GMT
Pragma:             public
Cache-Control:      public, must-revalidate, proxy-revalidate
Etag:               8b30c0268ad4f6859aeeaa3d6fb5e1d0
Content-Encoding:   gzip
-->
