This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Java Plug-in misbehaives Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Java Plug-in misbehaives" Watch "Java Plug-in misbehaives" New topic

Java Plug-in misbehaives

Gennady Shapiro
Ranch Hand

Joined: Sep 25, 2001
Posts: 196
Has anyone tried to resize a java plug-in on a html page? It won't resize, unlike <Applet>.
Simple code like below does not work for me.

function resizeTree() {
var width = document.body.clientWidth;
var height = document.body.clientHeight;
document.DocumentTree.setSize(width, height);

<jsp lugin type="applet"
<jsp arams>
<jsp aram name="scriptable" value="true" />
<jsp aram name="mayscript" value="true" />
<jsp aram name="treedata"
</jsp arams>
<p>unable to start plugin </p>
</jsp lugin>

Suggestions anyone?
P.S. sorry for stupid faces, they replaced ":" + "p"
[ March 28, 2002: Message edited by: Gennady Shapiro ]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

P.S. sorry for stupid faces, they replaced ":" + "p"
That is too funny.
Sorry though that I can't help with the actual problem. I haven't seen or tried that.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
sorry for stupid faces, they replaced
Edit your post and "Disable Smiles" at the bottom before saying "Add Reply" or whatever the button says.
- satya

Take a Minute, Donate an Hour, Change a Life
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
What version of the JDK are you using?

SCWCD: Online Course, 50,000+ words and 200+ questions
I agree. Here's the link:
subject: Java Plug-in misbehaives
It's not a secret anymore!