[Japi-cvs] SF.net SVN: japi:[884] libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc /SwingUtilit
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-02-15 12:32:03
|
Revision: 884
http://japi.svn.sourceforge.net/japi/?rev=884&view=rev
Author: christianhujer
Date: 2009-02-15 12:31:59 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues. Includes change of all TODO comments into a format with date.
Modified Paths:
--------------
libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/SwingUtilities2.java
Modified: libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/SwingUtilities2.java
===================================================================
--- libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/SwingUtilities2.java 2009-02-15 12:31:48 UTC (rev 883)
+++ libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/SwingUtilities2.java 2009-02-15 12:31:59 UTC (rev 884)
@@ -26,8 +26,12 @@
/** JAPI Swing Utilities.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-public class SwingUtilities2 {
+public final class SwingUtilities2 {
+ /** Utility class - do not instanciate. */
+ private SwingUtilities2() {
+ }
+
/** Find the Window for a Component.
* Searches for a Frame or a Dialog which is the parent component of the supplied argument.
* Windows are treated like normal Components since in Java Windows can't stand for themselves but must have another Window as a parent.
@@ -38,7 +42,7 @@
public static Window getWindowForComponent(final Component c) {
if (c == null) {
return null;
- // TODO: implement handling of null
+ // TODO:2009-02-15:christianhujer:Implement handling of null.
// return getRootFrame();
}
if (c instanceof Frame || c instanceof Dialog) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|