On Mon, 9 Aug 2004 19:59:58 -0400, Matt Humphrey wrote:
> "Madhur Ahuja" <> wrote in message
...
>> Yes, I tried ,but it didn't worked. I used
>> JOptionPane.showMessageDialog("madhur");
>>
>> The program executes, successfully,
>> no error message, but the message doesnt
>> displays.
>
> I find it hard to believe that the very widely used JOptionPane would simply
> do nothing at all.
I agree, are you using IE, Madhur?
> ...I would think that either Swing is available and it
> should work (I just tried it from a 1.1.8 compatible Applet)
Swing was not part of the core classes until 1.2,
it should fail on a 1.1.8 JVM..
> ..or you should
> get a ClassNotFound exception.
If using a pre 1.2 JVM such as the MSVM for instance..
>..Are you sure the dialog was executed? Did
> you check the console for messages, as it may have terminated after making
> an initial appearance.
I suspect that is the case..
Madhur, we need more details..
What browser/version are you using on what OS?
What version of Java is running in it?
<http://www.physci.org/pc/property.jsp?prop=java.version>
Do you know how to find the console in your browser?
Also, I think it might help to put an example
on the net, perfect for an applet..
<http://www.physci.org/codes/sscce.jsp>
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology