X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet%2Fpterodactylus%2Futil%2Fswing%2FSwingUtils.java;h=08f79bbb9f04621203d39615ac846a1f4f30fbd9;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hp=b5300441e5fe2d2f568b63b485349e0a3a90d81b;hpb=55be4a9e8373d72a9e1c25a3c8150651bb19679d;p=jSite2.git diff --git a/src/net/pterodactylus/util/swing/SwingUtils.java b/src/net/pterodactylus/util/swing/SwingUtils.java index b530044..08f79bb 100644 --- a/src/net/pterodactylus/util/swing/SwingUtils.java +++ b/src/net/pterodactylus/util/swing/SwingUtils.java @@ -27,7 +27,7 @@ import java.awt.Window; /** * Helper utilities for working with Swing. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class SwingUtils { @@ -37,7 +37,7 @@ public class SwingUtils { /** * Returns the size of the screen. - * + * * @return The size of the screen */ public static Dimension getScreenSize() { @@ -46,7 +46,7 @@ public class SwingUtils { /** * Centers the given window on the screen. - * + * * @param window * The window to center */ @@ -58,7 +58,7 @@ public class SwingUtils { /** * {@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 */ @@ -71,7 +71,7 @@ public class SwingUtils { /** * Returns the center of the given rectangle. - * + * * @param bounds * The rectangle which center to get * @return The center of the rectangle