rj.tools.util.ui
Class WidgetSizer

java.lang.Object
  extended byrj.tools.util.ui.WidgetSizer

public class WidgetSizer
extends java.lang.Object

Collection of utility methods related to manipulate the size of widgets

Version:
__0.98.1__
Author:
Ralph Jocham

Constructor Summary
WidgetSizer()
           
 
Method Summary
static void alignToMaxWidth(javax.swing.JComponent[] components)
          Takes the width of the component having the biggest one and applies this widht to all the other components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetSizer

public WidgetSizer()
Method Detail

alignToMaxWidth

public static void alignToMaxWidth(javax.swing.JComponent[] components)
Takes the width of the component having the biggest one and applies this widht to all the other components. This way you can make sure that all widget have the same with.

Parameters:
components -


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License