org.kahina.core.util
Class KahinaSwingUtilities

java.lang.Object
  extended by org.kahina.core.util.KahinaSwingUtilities

public class KahinaSwingUtilities
extends Object


Constructor Summary
KahinaSwingUtilities()
           
 
Method Summary
static JMenuItem createMenuItem(String text, String actionCommand, ActionListener actionListener)
           
static void scrollToCenter(JScrollPane scrollPane, int x, int y)
           
static Object visualError(String message, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KahinaSwingUtilities

public KahinaSwingUtilities()
Method Detail

scrollToCenter

public static void scrollToCenter(JScrollPane scrollPane,
                                  int x,
                                  int y)

visualError

public static Object visualError(String message,
                                 Throwable t)

createMenuItem

public static JMenuItem createMenuItem(String text,
                                       String actionCommand,
                                       ActionListener actionListener)