Saravanan
Saravanan

Reputation: 11592

how to change the size(Width x Height) of applet by mouse click on the Button?

I want to change the size(Width x Height) of applet by mouse click on the Button. I used resize(), but it does not get bigger than the area defined by html file. Is there any way to do this?

Upvotes: 0

Views: 286

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168815

Use JavaScript to resize the applet. Use Java (in the applet) to call the JS.

Upvotes: 2

Related Questions