> i want to write a program to open a frame when i click a button in
> applet window.
> can any one help me in this ?
> advance thanks
AFAIK, you can only open frames if your applet is signed...
Once you do that, its easy, in your applet (You're using JApplet,
right?) in the buttons action listener, you create a new JFrame,
configure it, and show it. Done.
If you need some code, show us what you've done so far, and someone is
more likely to tell you what direction to go.
Andrew Thompson - 21 Sep 2007 04:39 GMT
>> i want to write a program to open a frame when i click a button in
>> applet window.
...
>AFAIK, you can only open frames if your applet is signed...
No. They just gain a label on the bottom
advertising that they are a 'Java Applet Window'
or WTTE.
...
>If you need some code, show us what you've done so far, and someone is
>more likely to tell you what direction to go.
Agreed.
And to the OP. Please always use Upper Case for the
word 'I', and add a single Upper Case at the start of
each sentence.

Signature
Andrew Thompson
http://www.athompson.info/andrew/