1.1 --- a/openide.util/src/org/openide/util/HelpCtx.java Tue Aug 21 12:53:16 2007 +0000
1.2 +++ b/openide.util/src/org/openide/util/HelpCtx.java Wed Aug 22 12:26:59 2007 +0000
1.3 @@ -23,6 +23,7 @@
1.4 import java.beans.IntrospectionException;
1.5 import java.beans.Introspector;
1.6 import java.net.URL;
1.7 +import java.util.logging.Level;
1.8 import java.util.logging.Logger;
1.9 import javax.swing.JComponent;
1.10
1.11 @@ -148,7 +149,11 @@
1.12 * @return the help for that component (never <code>null</code>)
1.13 */
1.14 public static HelpCtx findHelp(java.awt.Component comp) {
1.15 - err.fine("findHelp on " + comp);
1.16 + if (err.isLoggable(Level.FINEST)) {
1.17 + err.log(Level.FINEST, "findHelp on " + comp, new Exception());
1.18 + } else {
1.19 + err.fine("findHelp on " + comp);
1.20 + }
1.21
1.22 while (comp != null) {
1.23 if (comp instanceof HelpCtx.Provider) {