projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
whitespace fixups
[jSite2.git]
/
src
/
net
/
pterodactylus
/
util
/
swing
/
SwingUtils.java
diff --git
a/src/net/pterodactylus/util/swing/SwingUtils.java
b/src/net/pterodactylus/util/swing/SwingUtils.java
index
e07a9fd
..
08f79bb
100644
(file)
--- a/
src/net/pterodactylus/util/swing/SwingUtils.java
+++ b/
src/net/pterodactylus/util/swing/SwingUtils.java
@@
-27,9
+27,8
@@
import java.awt.Window;
/**
* Helper utilities for working with Swing.
/**
* Helper utilities for working with Swing.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
*/
public class SwingUtils {
*/
public class SwingUtils {
@@
-38,16
+37,16
@@
public class SwingUtils {
/**
* Returns the size of the screen.
/**
* Returns the size of the screen.
- *
+ *
* @return The size of the screen
*/
* @return The size of the screen
*/
- public Dimension getScreenSize() {
+ public
static
Dimension getScreenSize() {
return new Dimension(screenDimension);
}
/**
* Centers the given window on the screen.
return new Dimension(screenDimension);
}
/**
* Centers the given window on the screen.
- *
+ *
* @param window
* The window to center
*/
* @param window
* The window to center
*/
@@
-59,7
+58,7
@@
public class SwingUtils {
/**
* {@link Window#pack() Packs} the given window and positions it so that its
* center stays the same.
/**
* {@link Window#pack() Packs} the given window and positions it so that its
* center stays the same.
- *
+ *
* @param window
* The window to pack and recenter
*/
* @param window
* The window to pack and recenter
*/
@@
-72,7
+71,7
@@
public class SwingUtils {
/**
* Returns the center of the given rectangle.
/**
* Returns the center of the given rectangle.
- *
+ *
* @param bounds
* The rectangle which center to get
* @return The center of the rectangle
* @param bounds
* The rectangle which center to get
* @return The center of the rectangle