From 2f80c63b64e462f2a26015caed32efa263072350 Mon Sep 17 00:00:00 2001 From: codistmonk Date: Sun, 3 Feb 2013 16:09:56 +0000 Subject: [PATCH] [Aprog] Minor refactoring in SwingTools. git-svn-id: https://aprog.svn.sourceforge.net/svnroot/aprog/trunk@206 7cbf5e2b-b55d-4b93-acdd-c0d7b961df51 --- Aprog/src/net/sourceforge/aprog/swing/SwingTools.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Aprog/src/net/sourceforge/aprog/swing/SwingTools.java b/Aprog/src/net/sourceforge/aprog/swing/SwingTools.java index ec5c816..8642725 100644 --- a/Aprog/src/net/sourceforge/aprog/swing/SwingTools.java +++ b/Aprog/src/net/sourceforge/aprog/swing/SwingTools.java @@ -48,7 +48,6 @@ import java.awt.event.MouseEvent; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; -import java.io.UnsupportedEncodingException; import java.lang.reflect.InvocationTargetException; import java.net.URLDecoder; import java.util.ArrayList; @@ -747,20 +746,20 @@ public final class SwingTools { } /** - * @param leftComponent + * @param topComponent *
Maybe null *
Will become reference - * @param rightComponent + * @param bottomComponent *
Maybe null *
Will become reference * @return *
Not null *
New */ - public static final JSplitPane verticalSplit(final Component leftComponent, final Component rightComponent) { + public static final JSplitPane verticalSplit(final Component topComponent, final Component bottomComponent) { checkAWT(); - return new JSplitPane(JSplitPane.VERTICAL_SPLIT, leftComponent, rightComponent); + return new JSplitPane(JSplitPane.VERTICAL_SPLIT, topComponent, bottomComponent); } /** -- 2.11.4.GIT