<?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: Advanced JIDE Property Grids	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=advanced-jide-property-grids</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 21 Oct 2019 17:21:18 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-504659</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 21 Oct 2019 17:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-504659</guid>

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

Philip - you cannot directly use a Java control inside Java tables, such as a Property Grid. Inside a table you should use a Cell-Editor and Cell-Renderer. Showing how to integrate them inside a JIDE Property Grid is well outside the scope of this blog. You can search in Java forums, or the code within my &lt;a href=&quot;http://undocumentedmatlab.com/blog/propertiesGUI&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;propertiesGUI utility&lt;/a&gt;. 

A description of how to integrate color cell renderers and editors in Java-based Matlab uitables can be found in my &lt;a href=&quot;http://undocumentedmatlab.com/blog/uitable-customization-report&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uitable customization report&lt;/a&gt; (note: this is related, but not directly applicable, to property-grids).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-504592">Philip</a>.</p>
<p>Philip &#8211; you cannot directly use a Java control inside Java tables, such as a Property Grid. Inside a table you should use a Cell-Editor and Cell-Renderer. Showing how to integrate them inside a JIDE Property Grid is well outside the scope of this blog. You can search in Java forums, or the code within my <a href="http://undocumentedmatlab.com/blog/propertiesGUI" target="_blank" rel="nofollow">propertiesGUI utility</a>. </p>
<p>A description of how to integrate color cell renderers and editors in Java-based Matlab uitables can be found in my <a href="http://undocumentedmatlab.com/blog/uitable-customization-report" target="_blank" rel="nofollow">uitable customization report</a> (note: this is related, but not directly applicable, to property-grids).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Philip		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-504592</link>

		<dc:creator><![CDATA[Philip]]></dc:creator>
		<pubDate>Mon, 21 Oct 2019 06:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-504592</guid>

					<description><![CDATA[Yair,

Could you please shed some more insight on how to use color choosers (specifically the &lt;code&gt;ColorComboBox&lt;/code&gt; / &lt;code&gt;JideColorSplitButton&lt;/code&gt; / or &lt;code&gt;com.mathworks.mlwidgets.graphics.ColorPicker&lt;/code&gt;) in JIDE Property Grids?  I&#039;ve been referencing the notes you outlined in this post as well as the following two posts on your undocumented site ( http://undocumentedmatlab.com/blog/color-selection-components and http://undocumentedmatlab.com/using-jide-combo-boxes ), however my efforts to insert the component into the grid were unsuccessful.]]></description>
			<content:encoded><![CDATA[<p>Yair,</p>
<p>Could you please shed some more insight on how to use color choosers (specifically the <code>ColorComboBox</code> / <code>JideColorSplitButton</code> / or <code>com.mathworks.mlwidgets.graphics.ColorPicker</code>) in JIDE Property Grids?  I&#8217;ve been referencing the notes you outlined in this post as well as the following two posts on your undocumented site ( <a href="http://undocumentedmatlab.com/blog/color-selection-components" rel="ugc">http://undocumentedmatlab.com/blog/color-selection-components</a> and <a href="http://undocumentedmatlab.com/using-jide-combo-boxes" rel="ugc">http://undocumentedmatlab.com/using-jide-combo-boxes</a> ), however my efforts to insert the component into the grid were unsuccessful.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Philip		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-490182</link>

		<dc:creator><![CDATA[Philip]]></dc:creator>
		<pubDate>Thu, 08 Aug 2019 03:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-490182</guid>

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

Yair,

This is with reference to your response to my post on August 5, 2019.  Thank you for the response.  The problem I was facing was directly related to the link in your comment.  The problem was fixed by simply programmatically setting the property’s default value (of class &lt;code&gt;java.util.ArrayList&lt;/code&gt;) in the class constructor for an instance of custom class project, as opposed to setting the default value in the properties declaration.  

Philip]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-489635">Yair Altman</a>.</p>
<p>Yair,</p>
<p>This is with reference to your response to my post on August 5, 2019.  Thank you for the response.  The problem I was facing was directly related to the link in your comment.  The problem was fixed by simply programmatically setting the property’s default value (of class <code>java.util.ArrayList</code>) in the class constructor for an instance of custom class project, as opposed to setting the default value in the properties declaration.  </p>
<p>Philip</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-489635</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 05 Aug 2019 08:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-489635</guid>

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

@Philip - you probably have a bug in your code, for example reusing the same &lt;code&gt;ArrayList&lt;/code&gt; object for all projects, rather than using a new &lt;code&gt;ArrayList&lt;/code&gt; instance for each project instance. For example: &lt;a href=&quot;http://undocumentedmatlab.com/blog/handle-object-as-default-class-property-value&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://undocumentedmatlab.com/blog/handle-object-as-default-class-property-value&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-489626">Philip</a>.</p>
<p>@Philip &#8211; you probably have a bug in your code, for example reusing the same <code>ArrayList</code> object for all projects, rather than using a new <code>ArrayList</code> instance for each project instance. For example: <a href="http://undocumentedmatlab.com/blog/handle-object-as-default-class-property-value" target="_blank" rel="nofollow">http://undocumentedmatlab.com/blog/handle-object-as-default-class-property-value</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Philip		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-489626</link>

		<dc:creator><![CDATA[Philip]]></dc:creator>
		<pubDate>Mon, 05 Aug 2019 07:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-489626</guid>

					<description><![CDATA[Yair,

Using the example above, I created a ML custom class called a &#039;project&#039; which has certain public properties of class &lt;code&gt;com.jidesoft.grid.DefaultProperty&lt;/code&gt; so that the properties of the project can be edited from the &lt;code&gt;PropertyTable&lt;/code&gt;. The default properties are added to a list of class &lt;code&gt;java.util.ArrayList&lt;/code&gt;, which is also a property of the custom project class. I then created a tree that lists all the projects. I adapted the &lt;i&gt;mousePressedCallback&lt;/i&gt; you wrote in &lt;a href=&quot;http://undocumentedmatlab.com/blog/customizing-uitree-nodes-2&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Customizing uitree nodes – part 2&lt;/a&gt;, so that when each project node is double clicked its properties are displayed in the &lt;code&gt;PropertyTable&lt;/code&gt; using:

&lt;pre lang=&quot;text&quot;&gt;
obj.ProjModel.setOriginalProperties( project.list );
obj.ProjModel.refresh();
&lt;/pre&gt;

I thought that each instance of project would control its list and the UI would simply load the list when I double click on the project node, but it appears as though my current implementation of &lt;code&gt;Arraylist&lt;/code&gt; is not localized to the instance of project that called it. It seems that the same list continues to be updated with every new call to project and when I double click on each project node, I get a concatenated grid of the project properties from all projects.

Any help you can give with this would be greatly appreciated.]]></description>
			<content:encoded><![CDATA[<p>Yair,</p>
<p>Using the example above, I created a ML custom class called a &#8216;project&#8217; which has certain public properties of class <code>com.jidesoft.grid.DefaultProperty</code> so that the properties of the project can be edited from the <code>PropertyTable</code>. The default properties are added to a list of class <code>java.util.ArrayList</code>, which is also a property of the custom project class. I then created a tree that lists all the projects. I adapted the <i>mousePressedCallback</i> you wrote in <a href="http://undocumentedmatlab.com/blog/customizing-uitree-nodes-2" target="_blank" rel="nofollow">Customizing uitree nodes – part 2</a>, so that when each project node is double clicked its properties are displayed in the <code>PropertyTable</code> using:</p>
<pre lang="text">
obj.ProjModel.setOriginalProperties( project.list );
obj.ProjModel.refresh();
</pre>
<p>I thought that each instance of project would control its list and the UI would simply load the list when I double click on the project node, but it appears as though my current implementation of <code>Arraylist</code> is not localized to the instance of project that called it. It seems that the same list continues to be updated with every new call to project and when I double click on each project node, I get a concatenated grid of the project properties from all projects.</p>
<p>Any help you can give with this would be greatly appreciated.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: amir		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-397027</link>

		<dc:creator><![CDATA[amir]]></dc:creator>
		<pubDate>Tue, 20 Dec 2016 21:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-397027</guid>

					<description><![CDATA[hi

how can make live searchable in jtable ?]]></description>
			<content:encoded><![CDATA[<p>hi</p>
<p>how can make live searchable in jtable ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sarah		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-362435</link>

		<dc:creator><![CDATA[Sarah]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 15:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-362435</guid>

					<description><![CDATA[Hi, I tried your code but I get the following error:

&lt;code&gt;??? Undefined variable &quot;com&quot; or class &quot;com.jidesoft.grid.DefaultProperty&quot;.&lt;/code&gt;

I&#039;m a newbiew and would appreciate ideas.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>Hi, I tried your code but I get the following error:</p>
<p><code>??? Undefined variable "com" or class "com.jidesoft.grid.DefaultProperty".</code></p>
<p>I&#8217;m a newbiew and would appreciate ideas.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-360014</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 28 Oct 2015 10:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-360014</guid>

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

@Cho - my article on color-selection components might help you: http://undocumentedmatlab.com/blog/color-selection-components]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-360010">Cho</a>.</p>
<p>@Cho &#8211; my article on color-selection components might help you: <a href="http://undocumentedmatlab.com/blog/color-selection-components" rel="ugc">http://undocumentedmatlab.com/blog/color-selection-components</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cho		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-360010</link>

		<dc:creator><![CDATA[Cho]]></dc:creator>
		<pubDate>Wed, 28 Oct 2015 09:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-360010</guid>

					<description><![CDATA[Hello ~

is there editor style like inspector background / foreground ?
there are color in value section and have colour picker front.
i want make inspector in color picker &#038; background 

thanks.]]></description>
			<content:encoded><![CDATA[<p>Hello ~</p>
<p>is there editor style like inspector background / foreground ?<br />
there are color in value section and have colour picker front.<br />
i want make inspector in color picker &amp; background </p>
<p>thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Suk		</title>
		<link>https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-358787</link>

		<dc:creator><![CDATA[Suk]]></dc:creator>
		<pubDate>Mon, 12 Oct 2015 09:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1316#comment-358787</guid>

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

Dear Yair~

I solved problem that java error. Matlab &#038; Java version is not same on my laptop...

i have more question!

your example is greatly work..
is there methods to align property value , and change heights of description zone?

Thanks..]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/advanced-jide-property-grids#comment-356528">Suk</a>.</p>
<p>Dear Yair~</p>
<p>I solved problem that java error. Matlab &amp; Java version is not same on my laptop&#8230;</p>
<p>i have more question!</p>
<p>your example is greatly work..<br />
is there methods to align property value , and change heights of description zone?</p>
<p>Thanks..</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
