I have class A
class A extends JApllet {
private B b;
....
public void init() {
// draw text
getContentPane().add(new JLabel("First"), BorderLayout.CENTER);
b = new B();
}
}
class B{
private C c;
b(){
c = new C();
}
}
class C{
C(){
// And there I need draw Text ("Second") on Applet Panel
}
}
How I can draw text from C class bottom the "First" text on Applets screen?