/** Get the default status displayer. * @return the default instance from lookup */ public static synchronized StatusDisplayer getDefault() { if (INSTANCE == null) { INSTANCE = Lookup.getDefault().lookup(StatusDisplayer.class); if (INSTANCE == null) { INSTANCE = new Trivial(); } } return INSTANCE; }
/** Get the default status displayer. * @return the default instance from lookup */ public static synchronized StatusDisplayer getDefault() { if (INSTANCE == null) { INSTANCE = (StatusDisplayer)Lookup.getDefault().lookup(StatusDisplayer.class); if (INSTANCE == null) { INSTANCE = new Trivial(); } } return INSTANCE; }
/** Get the default status displayer. * @return the default instance from lookup */ public static synchronized StatusDisplayer getDefault() { if (INSTANCE == null) { INSTANCE = (StatusDisplayer)Lookup.getDefault().lookup(StatusDisplayer.class); if (INSTANCE == null) { INSTANCE = new Trivial(); } } return INSTANCE; }
public synchronized void setStatusText(String text) { if (text.equals(this.text)) { return; } this.text = text; if (text.length() > 0) { System.err.println("(" + text + ")"); // NOI18N } fireChange(); }
public synchronized void setStatusText(String text) { if (text.equals(this.text)) { return; } this.text = text; if (text.length() > 0) { System.err.println("(" + text + ")"); // NOI18N } fireChange(); }