Example #1
0
 public String getControlName(Component component) {
   String str = "";
   if (component instanceof JComponent) {
     JComponent c = (JComponent) component;
     String subAppName = (String) c.getClientProperty("XPStyle.subAppName");
     if (subAppName != null) {
       str = subAppName + "::";
     }
   }
   return str + control.toString();
 }
Example #2
0
 public String toString() {
   return control.toString() + "." + name();
 }