<?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: UISplitPane</title>
	<atom:link href="http://undocumentedmatlab.com/blog/uisplitpane/feed/" rel="self" type="application/rss+xml" />
	<link>http://undocumentedmatlab.com/blog/uisplitpane/</link>
	<description>Charting Matlab's unsupported hidden underbelly</description>
	<pubDate>Sat, 13 Mar 2010 20:32:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Setting system tray icons &#124; Undocumented Matlab</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-667</link>
		<dc:creator>Setting system tray icons &#124; Undocumented Matlab</dc:creator>
		<pubDate>Fri, 15 May 2009 15:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-667</guid>
		<description>[...] (May 15, 2009): A kind reader today left a comment on another post of this blog with a solution for some reported Java exceptions when using systray in Matlab R2008b onward.  [...]</description>
		<content:encoded><![CDATA[<p>[...] (May 15, 2009): A kind reader today left a comment on another post of this blog with a solution for some reported Java exceptions when using systray in Matlab R2008b onward.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-660</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 15 May 2009 11:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-660</guid>
		<description>Please replace with this condition:

&lt;pre&gt;
str.indexOf('com.mathworks.mwswing.desk.DTSelectionManager')&gt;=0 &#124;&#124; ...
str.indexOf('javax.swing.plaf.basic.BasicLookAndFeel')&gt;=0 &#124;&#124; ...
str.indexOf('com.mathworks.widgets.text.mcode.MLintDecorator')&gt;=0
&lt;/pre&gt;

With these 3 event listeners removed, it seems no more exeptions occurs (hopefully).</description>
		<content:encoded><![CDATA[<p>Please replace with this condition:</p>
<pre>
str.indexOf('com.mathworks.mwswing.desk.DTSelectionManager')&gt;=0 || ...
str.indexOf('javax.swing.plaf.basic.BasicLookAndFeel')&gt;=0 || ...
str.indexOf('com.mathworks.widgets.text.mcode.MLintDecorator')&gt;=0
</pre>
<p>With these 3 event listeners removed, it seems no more exeptions occurs (hopefully).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yair Altman</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-659</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Fri, 15 May 2009 11:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-659</guid>
		<description>Thanks J :-)</description>
		<content:encoded><![CDATA[<p>Thanks J <img src='http://undocumentedmatlab.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-658</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 15 May 2009 11:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-658</guid>
		<description>This will solve the problems people have with R2008b and latter (exceptions...)

This also solve the exceptions with your brilliant Systray software.

Regards

&lt;pre&gt;t=java.awt.Toolkit.getDefaultToolkit()
ev=t.getAWTEventListeners()
for i=1:length(ev)
    str=ev(i).getListener().getClass.toString
    if str.indexOf('com.mathworks.mwswing.desk.DTSelectionManager')&gt;=0 &#124;&#124; ...
       str.indexOf('javax.swing.plaf.basic.BasicLookAndFeel')&gt;=0
        t.removeAWTEventListener(ev(i))
    end
end
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>This will solve the problems people have with R2008b and latter (exceptions&#8230;)</p>
<p>This also solve the exceptions with your brilliant Systray software.</p>
<p>Regards</p>
<pre>t=java.awt.Toolkit.getDefaultToolkit()
ev=t.getAWTEventListeners()
for i=1:length(ev)
    str=ev(i).getListener().getClass.toString
    if str.indexOf('com.mathworks.mwswing.desk.DTSelectionManager')&gt;=0 || ...
       str.indexOf('javax.swing.plaf.basic.BasicLookAndFeel')&gt;=0
        t.removeAWTEventListener(ev(i))
    end
end
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-56</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 02 Apr 2009 14:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-56</guid>
		<description>Wei - the standard javax.swing.JSlider doesn't have this out-of-the-box, but you can easily integrate 3rd-party components that do this. Google is your best friend, or search one of numerous Swing component repositories, like &lt;a href="http://swing-components.safe-install.com/" target="_blank" rel="nofollow"&gt;http://swing-components.safe-install.com/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Wei - the standard javax.swing.JSlider doesn&#8217;t have this out-of-the-box, but you can easily integrate 3rd-party components that do this. Google is your best friend, or search one of numerous Swing component repositories, like <a href="http://swing-components.safe-install.com/" target="_blank" rel="nofollow">http://swing-components.safe-install.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-55</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Thu, 02 Apr 2009 13:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-55</guid>
		<description>Yair, This is nice. How easy to implement a round slider, like a meter?</description>
		<content:encoded><![CDATA[<p>Yair, This is nice. How easy to implement a round slider, like a meter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-53</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 02 Apr 2009 10:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-53</guid>
		<description>Mikhail - uisplitpane (or the split-panes concept, same as the tab-panes concept) is a component that can be embedded into any Matlab container or Layout Manager (Matlab itself has several layout managers - see the File Exchange), just like any other Matlab component/container. That was an important design point of uisplitpane. I agree that my sample screenshot would be more powerful if I showed the split-panes embedded in some Matlab uipanel - If I have some spare time I'll do this.

Using the Java divider (as opposed to pure-Matlab button) enabled me to use its internal one-click flush hotspots (the arrows near the top/left end of the dividers that enable to flush the divider all the way to the side in one click) with a special mouse hover cursor. The property listeners were required to ensure that whenever the divider was modified, the split-panes did as well - this cannot be done in pure Matlab. The other undocumented functions had their own special reasons too.</description>
		<content:encoded><![CDATA[<p>Mikhail - uisplitpane (or the split-panes concept, same as the tab-panes concept) is a component that can be embedded into any Matlab container or Layout Manager (Matlab itself has several layout managers - see the File Exchange), just like any other Matlab component/container. That was an important design point of uisplitpane. I agree that my sample screenshot would be more powerful if I showed the split-panes embedded in some Matlab uipanel - If I have some spare time I&#8217;ll do this.</p>
<p>Using the Java divider (as opposed to pure-Matlab button) enabled me to use its internal one-click flush hotspots (the arrows near the top/left end of the dividers that enable to flush the divider all the way to the side in one click) with a special mouse hover cursor. The property listeners were required to ensure that whenever the divider was modified, the split-panes did as well - this cannot be done in pure Matlab. The other undocumented functions had their own special reasons too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikhail</title>
		<link>http://undocumentedmatlab.com/blog/uisplitpane/comment-page-1/#comment-44</link>
		<dc:creator>Mikhail</dc:creator>
		<pubDate>Wed, 01 Apr 2009 21:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-44</guid>
		<description>Dear Yair,

Thank you very much for starting blogging and investing so much effort in gaining and sharing you knowledge!

About split pane: I think that this component is great for axes and possibly few uicontrols, but would be much more powerfull when embedded into a consistent Layout Manager. What do you think about it?

It is really valuable to see all undocumented features, but apart from this point why have you opted for such complex implementation? I naively think it could be possible in pure matlab...</description>
		<content:encoded><![CDATA[<p>Dear Yair,</p>
<p>Thank you very much for starting blogging and investing so much effort in gaining and sharing you knowledge!</p>
<p>About split pane: I think that this component is great for axes and possibly few uicontrols, but would be much more powerfull when embedded into a consistent Layout Manager. What do you think about it?</p>
<p>It is really valuable to see all undocumented features, but apart from this point why have you opted for such complex implementation? I naively think it could be possible in pure matlab&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
