Hi, I'm developping a simple JAVA Applet and I have a problem
I have a class called LUIweb which is the main class. Here is a part of it.

public class LUIweb extends JApplet implements Runnable {

public void run() {
DisplayMessage("JAVA rocks");
}
public void DisplayMessage(String message){
jtextArea.append(message);
middlePanel.removeAll();
middlePanel.add(textScrollPane, BorderLayout.CENTER);
middlePanel.validate();
middlePanel.repaint();
}
}


It displays the message "JAVA rocks" in my JTextArea. But when another class from the same package calls DisplayMessage, nothing is displayed in my JTextArea


public class Data_net extends LUIweb{
public void Test(){
DisplayMessage("NON");
}
}

Have you got any idea to fix that?

Thank you for you help