Beispiel #1
0
        protected Component()
        {
            toolkit.lockAWT();
            try {
                orientation = ComponentOrientation.UNKNOWN;

/*            redrawManager = null;
 *          traversalIDs = this is Container ? KeyboardFocusManager.contTraversalIDs
 *                  : KeyboardFocusManager.compTraversalIDs;
 *          foreach (int element in traversalIDs) {
 *              traversalKeys.put(new Integer(element), null);
 *          }
 *          behaviour = createBehavior();
 *          deriveCoalescerFlag();
 */         } finally {
                toolkit.unlockAWT();
            }
        }
Beispiel #2
0
 protected Component()
 {
     toolkit.lockAWT();
     try {
     orientation = ComponentOrientation.UNKNOWN;
     /*            redrawManager = null;
     traversalIDs = this is Container ? KeyboardFocusManager.contTraversalIDs
             : KeyboardFocusManager.compTraversalIDs;
     foreach (int element in traversalIDs) {
         traversalKeys.put(new Integer(element), null);
     }
     behaviour = createBehavior();
     deriveCoalescerFlag();
     */        } finally {
     toolkit.unlockAWT();
     }
 }