Hi, I have just tested my application against Java 1.5 it works ok but is spewing a load of information out to do with the Focus manager. Ive had a look at the source for one of these classes (java.awt.KeyboardFocusManager) and it contains code such as
static AWTEvent retargetFocusEvent(AWTEvent event) {
if (clearingCurrentLightweightRequests) {
return event;
}
KeyboardFocusManager manager = getCurrentKeyboardFocusManager();
if (focusLog.isLoggable(Level.FINE)) {
if (event instanceof FocusEvent || event instanceof WindowEvent) {
focusLog.log(Level.FINE, ">>> {0}", new Object[] {event});
}
if (focusLog.isLoggable(Level.FINER) && event instanceof KeyEvent) {
focusLog.log(Level.FINER, " focus owner is {0}", new Object[] {manager.getGlobalFocusOwner()});
focusLog.log(Level.FINER, ">>> {0}", new Object[] {event});
}
}
How do I disable isLoggable(), i have tried using -da and -dsa options when starting java to do effect. ?
Are they indicating problems with my code or just general information ?