@Deprecated public boolean postEvent(Event e) { toolkit.lockAWT(); try { if (parent != null) { return parent.postEvent(e); } return false; } finally { toolkit.unlockAWT(); } }
public Font getFont() { toolkit.lockAWT(); try { if (font == null && hasDefaultFont()) { return toolkit.getDefaultFont(); } if (font == null && parent != null) { return parent.getFont(); } return font; } finally { toolkit.unlockAWT(); } }