<?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: Using Multiple Swing Layouts to Create Dynamic Forms</title>
	<atom:link href="http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/</link>
	<description>Summa Blog</description>
	<pubDate>Wed, 08 Feb 2012 05:31:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amit kalra</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-2700</link>
		<dc:creator>Amit kalra</dc:creator>
		<pubDate>Sat, 14 Aug 2010 08:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-2700</guid>
		<description>hi All,

Great matter,
I have once scenario which i need help.

We are creating a gui application such that ,all the screen that we are creating will not be stored on the client machine ,instead on the application server .

the gui application will consists as a standlone frame sort of thing which will call the function to the application server for the corresponding screen name .After validating the screen name ,the application server will process the screen and display it on the client gui standlone application.


Please provide some guidance as to how we can create the swing forms and save it into the application server,and call it from the remote locations.of course client system will containg jdk /jre.

Thanks</description>
		<content:encoded><![CDATA[<p>hi All,</p>
<p>Great matter,<br />
I have once scenario which i need help.</p>
<p>We are creating a gui application such that ,all the screen that we are creating will not be stored on the client machine ,instead on the application server .</p>
<p>the gui application will consists as a standlone frame sort of thing which will call the function to the application server for the corresponding screen name .After validating the screen name ,the application server will process the screen and display it on the client gui standlone application.</p>
<p>Please provide some guidance as to how we can create the swing forms and save it into the application server,and call it from the remote locations.of course client system will containg jdk /jre.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k40s</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-2658</link>
		<dc:creator>k40s</dc:creator>
		<pubDate>Tue, 29 Jun 2010 11:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-2658</guid>
		<description>Hi!

Great article, but I arrived here with the same problem that Ganesh has had and my question is for him/her ... Can you write a little example to show how did you resolved it? or, if you did found in another web, can you link it?

Thank you

PD sorry about my english, is a little bad :-)</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Great article, but I arrived here with the same problem that Ganesh has had and my question is for him/her &#8230; Can you write a little example to show how did you resolved it? or, if you did found in another web, can you link it?</p>
<p>Thank you</p>
<p>PD sorry about my english, is a little bad <img src='http://www.summa-tech.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-1394</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Fri, 07 Aug 2009 17:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-1394</guid>
		<description>Hey, Thanks.. I got the answer for my question.
I created one level of abstraction(a bean) above the components(button,label, JLabel) to hold all those .
I use a collection HashMap / ArrayList to keep adding those bean elements.

Later I use the collection to retrieve the values which I require, on receiving the event.</description>
		<content:encoded><![CDATA[<p>Hey, Thanks.. I got the answer for my question.<br />
I created one level of abstraction(a bean) above the components(button,label, JLabel) to hold all those .<br />
I use a collection HashMap / ArrayList to keep adding those bean elements.</p>
<p>Later I use the collection to retrieve the values which I require, on receiving the event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-1393</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Fri, 07 Aug 2009 16:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-1393</guid>
		<description>Hi, Nice Article.
I have a doubt around this.
I am facing a big time problem reading the values from the components - form elements if I render the elements dynamically like this.
Can you help me to understand how to do that?</description>
		<content:encoded><![CDATA[<p>Hi, Nice Article.<br />
I have a doubt around this.<br />
I am facing a big time problem reading the values from the components - form elements if I render the elements dynamically like this.<br />
Can you help me to understand how to do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sahana</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-407</link>
		<dc:creator>Sahana</dc:creator>
		<pubDate>Thu, 23 Apr 2009 06:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-407</guid>
		<description>HI,

Thanks for a nice article. I hope this is going to help me in the dynamic UI construction. I also want to know how you constructed the 'retreivedata' method. is it xml based? if so can you please share a sample xml.

Thanks
Sahana</description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>Thanks for a nice article. I hope this is going to help me in the dynamic UI construction. I also want to know how you constructed the &#8216;retreivedata&#8217; method. is it xml based? if so can you please share a sample xml.</p>
<p>Thanks<br />
Sahana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Menzies</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-268</link>
		<dc:creator>Adam Menzies</dc:creator>
		<pubDate>Tue, 17 Mar 2009 17:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-268</guid>
		<description>Thanks to everyone for their comments/suggestions. 

"e" is correct, I should have mentioned in the introduction to the article that this solution was used for a client who not only needed a "simple" and easily repeatable solution but for a client that was using Java 1.4 and had developers that had little Java and no Swing experience. 

So this is a very simplified, low-level solution that is meant as a starting point when building dynamic Swing interfaces. Obviously as you build UIs using this method the logic and structure will become more complex to meet different needs. The actual structure/logic used in our application is much more complex than what is here. 

We did look at some other frameworks/layout managers including MigLayout and even GUI tools like Matisse (which we did use for another application that used static forms), but for the developers who would ultimately be maintaining the application and the deployment of the application we decided it was best to use standard Java libraries only. 

While 3rd party/open source solutions can be excellent in the short-term, I think many consultants can attest to being burned by those solutions that seemed like the "next best thing" only to fizzle out in a year and no longer be supported, leaving you to maintain and bug fix what you had already used. 

This is certainly not a fix-all solution, but it is a good starting point for new Swing developers who want to stick to the standard Java libraries. 

Thanks again for the feedback!</description>
		<content:encoded><![CDATA[<p>Thanks to everyone for their comments/suggestions. </p>
<p>&#8220;e&#8221; is correct, I should have mentioned in the introduction to the article that this solution was used for a client who not only needed a &#8220;simple&#8221; and easily repeatable solution but for a client that was using Java 1.4 and had developers that had little Java and no Swing experience. </p>
<p>So this is a very simplified, low-level solution that is meant as a starting point when building dynamic Swing interfaces. Obviously as you build UIs using this method the logic and structure will become more complex to meet different needs. The actual structure/logic used in our application is much more complex than what is here. </p>
<p>We did look at some other frameworks/layout managers including MigLayout and even GUI tools like Matisse (which we did use for another application that used static forms), but for the developers who would ultimately be maintaining the application and the deployment of the application we decided it was best to use standard Java libraries only. </p>
<p>While 3rd party/open source solutions can be excellent in the short-term, I think many consultants can attest to being burned by those solutions that seemed like the &#8220;next best thing&#8221; only to fizzle out in a year and no longer be supported, leaving you to maintain and bug fix what you had already used. </p>
<p>This is certainly not a fix-all solution, but it is a good starting point for new Swing developers who want to stick to the standard Java libraries. </p>
<p>Thanks again for the feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-258</link>
		<dc:creator>e</dc:creator>
		<pubDate>Sun, 15 Mar 2009 08:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-258</guid>
		<description>@Jacek
Take a rest. I can imagine several reasons for not using MigLayout in his case. MigLayout is certainly not a one size fits all solution.
For example, Adam needs "simple" but highly configurable layout based on data and user inputs. Nested basic layouts could be the best approach in this case. Or another example: perhaps his forms must be deployed on client machines with minimal jars and just jre 1.5 and not jre 1.8.</description>
		<content:encoded><![CDATA[<p>@Jacek<br />
Take a rest. I can imagine several reasons for not using MigLayout in his case. MigLayout is certainly not a one size fits all solution.<br />
For example, Adam needs &#8220;simple&#8221; but highly configurable layout based on data and user inputs. Nested basic layouts could be the best approach in this case. Or another example: perhaps his forms must be deployed on client machines with minimal jars and just jre 1.5 and not jre 1.8.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacek</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-254</link>
		<dc:creator>Jacek</dc:creator>
		<pubDate>Fri, 13 Mar 2009 11:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-254</guid>
		<description>I have done extremely complex layouts using MigLayout. At worst, you may need nested JPanels. It's an amazing piece of software. Any one still stuck using the horribly obsolete and verbose JDK layout managers in 2009 should really update their Swing knowledge.</description>
		<content:encoded><![CDATA[<p>I have done extremely complex layouts using MigLayout. At worst, you may need nested JPanels. It&#8217;s an amazing piece of software. Any one still stuck using the horribly obsolete and verbose JDK layout managers in 2009 should really update their Swing knowledge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Doe</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-253</link>
		<dc:creator>John Doe</dc:creator>
		<pubDate>Fri, 13 Mar 2009 02:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-253</guid>
		<description>While it's probably not the best approach, the article is still interesting. It presents one natural and simple way of doing things.

MigLayout would also have some limitations in some conditions depending on the data(i.e.. not much data or fully dynamic layout depending on what's available). 

I would probably use a combined/conditional use of layout managers depending on what to display for complex cases.</description>
		<content:encoded><![CDATA[<p>While it&#8217;s probably not the best approach, the article is still interesting. It presents one natural and simple way of doing things.</p>
<p>MigLayout would also have some limitations in some conditions depending on the data(i.e.. not much data or fully dynamic layout depending on what&#8217;s available). </p>
<p>I would probably use a combined/conditional use of layout managers depending on what to display for complex cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacek</title>
		<link>http://www.summa-tech.com/blog/2009/03/11/using-multiple-swing-layouts-to-create-dynamic-forms/comment-page-1/#comment-252</link>
		<dc:creator>Jacek</dc:creator>
		<pubDate>Thu, 12 Mar 2009 16:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.summa-tech.com/blog/?p=549#comment-252</guid>
		<description>You need to learn about MigLayout...your whole approach is extremely OBSOLETE</description>
		<content:encoded><![CDATA[<p>You need to learn about MigLayout&#8230;your whole approach is extremely OBSOLETE</p>
]]></content:encoded>
	</item>
</channel>
</rss>

