<?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: JIDE Property Grids	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/jide-property-grids/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/jide-property-grids?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jide-property-grids</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Tue, 28 Mar 2017 10:31:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Jette		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-403845</link>

		<dc:creator><![CDATA[Jette]]></dc:creator>
		<pubDate>Tue, 28 Mar 2017 10:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-403845</guid>

					<description><![CDATA[Hello,

we&#039;ve used severeal Jide classes (at least PropertyTableClass and PropertyTable) in our project for quite a long time. Recently, we migrated the project from R2010b to R2015b. Unfortunatly, in R2015b we get a warn dialog while compiling our application. The warning comes frome JIDE Software, Inc. and states &quot;You get this message box because you didn&#039;t input a correct license key. ...&quot;. 

Do you know if it is possible to compile MATLAB code based on JIDE classes without this warning? 

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>we&#8217;ve used severeal Jide classes (at least PropertyTableClass and PropertyTable) in our project for quite a long time. Recently, we migrated the project from R2010b to R2015b. Unfortunatly, in R2015b we get a warn dialog while compiling our application. The warning comes frome JIDE Software, Inc. and states &#8220;You get this message box because you didn&#8217;t input a correct license key. &#8230;&#8221;. </p>
<p>Do you know if it is possible to compile MATLAB code based on JIDE classes without this warning? </p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: propertiesGUI &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-326092</link>

		<dc:creator><![CDATA[propertiesGUI &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Tue, 10 Jun 2014 10:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-326092</guid>

					<description><![CDATA[[...] that uiinspect uses com.mathworks.mlwidgets.inspector.PropertyView, which in turn uses JIDE&#8217;s PropertyTable. PropertyView automatically extracts the inspected object&#8217;s properties and displays them [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] that uiinspect uses com.mathworks.mlwidgets.inspector.PropertyView, which in turn uses JIDE&#8217;s PropertyTable. PropertyView automatically extracts the inspected object&#8217;s properties and displays them [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: treeTable &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-234460</link>

		<dc:creator><![CDATA[treeTable &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Tue, 06 Aug 2013 11:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-234460</guid>

					<description><![CDATA[[...] by Matlab&#8217;s inspect function and my generic propertiesGUI utility or Levente Hunyadi&#8217;s Property Grid utility. But in this case we wish to display a general multi-column table, so PropertyTable is a [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] by Matlab&#8217;s inspect function and my generic propertiesGUI utility or Levente Hunyadi&#8217;s Property Grid utility. But in this case we wish to display a general multi-column table, so PropertyTable is a [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: propertiesGUI &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-149714</link>

		<dc:creator><![CDATA[propertiesGUI &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 30 Jan 2013 18:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-149714</guid>

					<description><![CDATA[[...] uiinspect uses com.mathworks.mlwidgets.inspector.PropertyView, which in turn uses JIDE&#039;s PropertyTable. PropertyView automatically extracts the inspected object&#039;s properties and displays them. [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] uiinspect uses com.mathworks.mlwidgets.inspector.PropertyView, which in turn uses JIDE&#8217;s PropertyTable. PropertyView automatically extracts the inspected object&#8217;s properties and displays them. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: uiinspect &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-147445</link>

		<dc:creator><![CDATA[uiinspect &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Sun, 27 Jan 2013 09:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-147445</guid>

					<description><![CDATA[[...] displays the callbacks data (callbacks property name and value) in a Java table (JIDE PropertyTable, JIDE TreeTable, or failing those a simple JTable). [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] displays the callbacks data (callbacks property name and value) in a Java table (JIDE PropertyTable, JIDE TreeTable, or failing those a simple JTable). [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-54797</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 18:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-54797</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jide-property-grids#comment-54791&quot;&gt;Guillaume&lt;/a&gt;.

@Guillaume - use the second output argument returned from &lt;i&gt;&lt;b&gt;javacomponent&lt;/b&gt;&lt;/i&gt; and simply set its &lt;b&gt;Units&lt;/b&gt; property to &#039;normalized&#039; - it should then resize automatically with your figure, without the need for propResize at all:

&lt;pre lang=&#039;matlab&#039;&gt;
panel = uipanel(hFig);
[hjPane, hcPane] = javacomponent(pane, [0 0 200 300], panel);
set(hcPane,&#039;Units&#039;,&#039;norm&#039;);
&lt;/pre&gt;

If you do want to keep using &lt;b&gt;ResizeFcn&lt;/b&gt;, then you need to fix your code: Each time you use &lt;i&gt;&lt;b&gt;javacomponent&lt;/b&gt;&lt;/i&gt; in your propResiz function, you are recreating the component container etc. Instead, create the Java &lt;code&gt;pane&lt;/code&gt; just once and keep the container handle. Then simply set this container&#039;s &lt;b&gt;Position&lt;/b&gt; property in the propResiz function. Something like this:

&lt;pre lang=&#039;matlab&#039;&gt;
panel = uipanel(hFig);
[hjPane, hcPane] = javacomponent(pane, [0 0 200 300], panel);
set(panel,&#039;ResizeFcn&#039;,{@propResiz,hcPane});

function propResiz(src,eventdata,hcPane)
   pos = getpixelposition(gcf);  % ensure we get it in [pixels]
   set(hcPane, &#039;Position&#039;, [0 0 pos(3) pos(4)]);
end
&lt;/pre&gt;

Additional information on the &lt;i&gt;&lt;b&gt;javacomponent&lt;/b&gt;&lt;/i&gt; function can be found &lt;a target=&quot;_blank&quot; href=&quot;http://undocumentedmatlab.com/blog/javacomponent/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jide-property-grids#comment-54791">Guillaume</a>.</p>
<p>@Guillaume &#8211; use the second output argument returned from <i><b>javacomponent</b></i> and simply set its <b>Units</b> property to &#8216;normalized&#8217; &#8211; it should then resize automatically with your figure, without the need for propResize at all:</p>
<pre lang='matlab'>
panel = uipanel(hFig);
[hjPane, hcPane] = javacomponent(pane, [0 0 200 300], panel);
set(hcPane,'Units','norm');
</pre>
<p>If you do want to keep using <b>ResizeFcn</b>, then you need to fix your code: Each time you use <i><b>javacomponent</b></i> in your propResiz function, you are recreating the component container etc. Instead, create the Java <code>pane</code> just once and keep the container handle. Then simply set this container&#8217;s <b>Position</b> property in the propResiz function. Something like this:</p>
<pre lang='matlab'>
panel = uipanel(hFig);
[hjPane, hcPane] = javacomponent(pane, [0 0 200 300], panel);
set(panel,'ResizeFcn',{@propResiz,hcPane});

function propResiz(src,eventdata,hcPane)
   pos = getpixelposition(gcf);  % ensure we get it in [pixels]
   set(hcPane, 'Position', [0 0 pos(3) pos(4)]);
end
</pre>
<p>Additional information on the <i><b>javacomponent</b></i> function can be found <a target="_blank" href="http://undocumentedmatlab.com/blog/javacomponent/" rel="nofollow">here</a>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Guillaume		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-54791</link>

		<dc:creator><![CDATA[Guillaume]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 16:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-54791</guid>

					<description><![CDATA[Hello,

Thanks a lot for this incredibly helpful blog ! 

I&#039;ve got a question concerning this &quot;homemade&quot; Property inspector. I&#039;ve been running your example with good results but now I would like my inspector to be resizable. Do you have any idea on how to achieve that ?

Here is my way of doing right now ( adapted last lines of your example ) :

&lt;pre lang=&quot;matlab&quot;&gt; 
% Display the properties pane onscreen
hFig = figure(&#039;MenuBar&#039;,&#039;none&#039;,...
              &#039;Position&#039;,[200 200 200 300],...
              &#039;Name&#039;,&#039;My Property Inspector&#039;,...
              &#039;NumberTitle&#039;,&#039;off&#039;);
panel = uipanel(hFig,&#039;ResizeFcn&#039;,{@propResiz,pane});
javacomponent(pane, [0 0 200 300], panel);
 
% Wait for figure window to close &#038; display the prop value
uiwait(hFig);
disp(prop1.getValue());

function propResiz(src,eventdata,pane)
   pos = get(gcf,&#039;Position&#039;);
   javacomponent(pane, [0 0 pos(3) pos(4)], src);
end
&lt;/pre&gt;

But I feel like there must be something better that I can&#039;t see because of my lack of Java and  javacomponent knowledge...

Thanks,

Guillaume]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks a lot for this incredibly helpful blog ! </p>
<p>I&#8217;ve got a question concerning this &#8220;homemade&#8221; Property inspector. I&#8217;ve been running your example with good results but now I would like my inspector to be resizable. Do you have any idea on how to achieve that ?</p>
<p>Here is my way of doing right now ( adapted last lines of your example ) :</p>
<pre lang="matlab"> 
% Display the properties pane onscreen
hFig = figure('MenuBar','none',...
              'Position',[200 200 200 300],...
              'Name','My Property Inspector',...
              'NumberTitle','off');
panel = uipanel(hFig,'ResizeFcn',{@propResiz,pane});
javacomponent(pane, [0 0 200 300], panel);
 
% Wait for figure window to close &amp; display the prop value
uiwait(hFig);
disp(prop1.getValue());

function propResiz(src,eventdata,pane)
   pos = get(gcf,'Position');
   javacomponent(pane, [0 0 pos(3) pos(4)], src);
end
</pre>
<p>But I feel like there must be something better that I can&#8217;t see because of my lack of Java and  javacomponent knowledge&#8230;</p>
<p>Thanks,</p>
<p>Guillaume</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Date selection components &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-11705</link>

		<dc:creator><![CDATA[Date selection components &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 06:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-11705</guid>

					<description><![CDATA[[...] fact that Matlab uses JIDE components for many of its GUI components. As already explained earlier, JIDE controls are pre-bundled in Matlab (/java/jarext/jide/jide-grids.jar under the Matlab root). [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] fact that Matlab uses JIDE components for many of its GUI components. As already explained earlier, JIDE controls are pre-bundled in Matlab (/java/jarext/jide/jide-grids.jar under the Matlab root). [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jason		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-9672</link>

		<dc:creator><![CDATA[Jason]]></dc:creator>
		<pubDate>Tue, 04 May 2010 17:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-9672</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jide-property-grids#comment-9669&quot;&gt;Yair Altman&lt;/a&gt;.

Hi Yair,

My apologies.  I thought the explanation for the example was all above the code itself.  Leave it to a programmer to read a tutorial &quot;serially&quot;.  :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jide-property-grids#comment-9669">Yair Altman</a>.</p>
<p>Hi Yair,</p>
<p>My apologies.  I thought the explanation for the example was all above the code itself.  Leave it to a programmer to read a tutorial &#8220;serially&#8221;.  🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/jide-property-grids#comment-9669</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 04 May 2010 17:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1287#comment-9669</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/jide-property-grids#comment-9667&quot;&gt;Jason&lt;/a&gt;.

@Jason - as explained in the article, javaclass is a function that is included in the &lt;a target=&quot;_blank&quot; href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/26873&quot; rel=&quot;nofollow&quot;&gt;Property Grid utility&lt;/a&gt;, or directly downloadable from &lt;a target=&quot;_blank&quot; href=&quot;http://undocumentedmatlab.com/files/javaclass.m&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. After downloading this Java class, you need to place it in your Java classpath (see &lt;b&gt;&lt;i&gt;javaclasspath&lt;/i&gt;&lt;/b&gt;).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/jide-property-grids#comment-9667">Jason</a>.</p>
<p>@Jason &#8211; as explained in the article, javaclass is a function that is included in the <a target="_blank" href="http://www.mathworks.com/matlabcentral/fileexchange/26873" rel="nofollow">Property Grid utility</a>, or directly downloadable from <a target="_blank" href="http://undocumentedmatlab.com/files/javaclass.m" rel="nofollow">here</a>. After downloading this Java class, you need to place it in your Java classpath (see <b><i>javaclasspath</i></b>).</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
