// Returns true if the associated component has focus. protected boolean isActiveFrame() { return jcomp.hasFocus(); }