com.klg.jclass.util
Class JCUtil
java.lang.Object
|
+--com.klg.jclass.util.JCUtil
- public class JCUtil
- extends Object
Utility methods for JClass.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCUtil
public JCUtil()
getComponentName
public static String getComponentName(Component c)
- Gets a name for this component that can be printed.
Component.toString()
prints this name along with a long list of parameters. If you want the
short version, call this method.
- Parameters:
c
- the component whose printable String we want
- Returns:
- the String representing the component