Greg, thanks for the in depth answer. It really got
me going!
Best,
- Rainer
- Original Message -
From:
Greg Hamilton
To: Rainer Öhman
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 1:42
AM
Subject: Re: Using JTextArea as a log
screen
The class
The class which represent the model must extend Observable and implement the setChanged method.
public class Model extends Observable {
/*
Model implementation stuff goes here.
*/
// Notify observer classes that the model has changed.
public void updateView() {
setChanged();
notifyObservers((O
Hi!
Following the MVC pattern, I'm trying to separate
the swing gui from the data.
In the gui application I'm writing (moving users
between LDAP trees), I would like to redirect the output produced by the
class reading from LDAP to a JTextArea in the swing class - much like
redirecting