jmri.util
Class SwingUtil

java.lang.Object
  extended by jmri.util.SwingUtil

public class SwingUtil
extends Object

Common utility methods for working with Swing.

We needed a place to put code to Java 2 Swing functionality on a Java 1.1.8 system, or at least try to fake it.

Author:
Alex Shepherd Copyright 2004

Constructor Summary
SwingUtil()
           
 
Method Summary
static boolean setFocusable(JComponent component, boolean focusable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtil

public SwingUtil()
Method Detail

setFocusable

public static boolean setFocusable(JComponent component,
                                   boolean focusable)


Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads