Testing Code Highlighter


public void addGUIObserver(GUIObserver o) {
treePanelObservers.add(o);
}
public void addEngineObserver(GUIEngineObserver e) {
engineObservers.add(e);
e.addEngineStateListener(this);
}
public void sendMessage(String text){
if (waitingDialog!=null && !waitingDialog.isDisposed()){
waitingDialog.setText(text); 
}
}