Attaching a JOptionFrame to an Applet

Is it possible to attach a JOptionPane to an applet? If so how can this be done?Thanks.
[101 byte] By [jascas007a] at [2007-11-27 2:21:59]
# 1
hi!paste it in the place you want to ....JOptionPane.showMessageDialog(null, "Hello");regardsAniruddha
Aniruddha-Herea at 2007-7-12 2:25:20 > top of Java-index,Desktop,Core GUI APIs...
# 2

I already have Null in but it still does not seem to work. Bellow I have giving an example of what my JOptionPane looks like.

Any other suggestions?

Code:

JOptionPane.showMessageDialog(null, "The remote password has expired! Contact System Administrator to re-activate account", "Tacacs+ Error", JOptionPane.WARNING_MESSAGE);

jascas007a at 2007-7-12 2:25:20 > top of Java-index,Desktop,Core GUI APIs...
# 3
hi!are you sure that your code flow reaches that point. you just give some console printout and then check this. second is, try to write a small program and paste the code here...regardsAniruddha
Aniruddha-Herea at 2007-7-12 2:25:20 > top of Java-index,Desktop,Core GUI APIs...
# 4
Hi i use this in my appletJOptionPane.showMessageDialog(this,"The remote password has expired! Contact System Administrator to re-activate account","Tacacs+ Error",JOptionPane.WARNING_MESSAGE);Satanduvel
Satanduvela at 2007-7-12 2:25:20 > top of Java-index,Desktop,Core GUI APIs...