Revision: 1592
http://svn.sourceforge.net/spring-rich-c/?rev=1592&view=rev
Author: jhoskens
Date: 2006-12-06 01:22:39 -0800 (Wed, 06 Dec 2006)
Log Message:
-----------
added instructions for upgrading ApplicationDialog
Modified Paths:
--------------
trunk/spring-richclient/src/site/apt/user/upgrading/upgradingTo0.3.x.apt
Modified:
trunk/spring-richclient/src/site/apt/user/upgrading/upgradingTo0.3.x.apt
===================================================================
--- trunk/spring-richclient/src/site/apt/user/upgrading/upgradingTo0.3.x.apt
2006-12-06 09:14:35 UTC (rev 1591)
+++ trunk/spring-richclient/src/site/apt/user/upgrading/upgradingTo0.3.x.apt
2006-12-06 09:22:39 UTC (rev 1592)
@@ -121,3 +121,11 @@
the current application context and it implements
<<<org.springframework.rules.RulesSource>>> it will be used as the
implementation for it.
* Upgraded dependencies on spring 2.0 final.
+
+ * ApplicationDialog small refactoring
+
+ <<<setParent(Window)>>> is replaced by
<<<setParentComponent(Component)>>>. This allows to pass any component which
has the appropriate Frame/Dialog in it's hierarchy.
+ Window can still be retrieved by <<<getParentWindow()>>>.
+
+ <<<setLocationRelativeTo(Component)>>> is added. Before this method,
the parent component was always used (if given) to set the location, but this
might not be the preferred way.
+ This method provides more flexibility as to where your dialog will be
placed besides the <<<setLocation(point)>>> method.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs