org.equanda.util.swing
Class SwingUtil
java.lang.Object
  
org.equanda.util.swing.SwingUtil
public final class SwingUtil
- extends Object
 
Swing utility functions.
- Author:
 
  - NetRom team
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
center
public static void center(JComponent comp,
                          Rectangle rectToCenter)
- Scrolls to the given rect and centers on it.
- Parameters:
 comp - componentrectToCenter - rectangle to center
 
 
Copyright © 2007-2009. All Rights Reserved.