• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Plug-in misbehaives

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
code="qitanalytics.gui.tree.TreeViewer"
codebase="/classes/QITAnalytics@QITAnalytics"
name="DocumentTree">
<jsp arams>
<jsp aram name="scriptable" value="true" />
<jsp aram name="mayscript" value="true" />
<jsp aram name="treedata"
value=
"<%=tree.write(location)%>"
/>
</jsp arams>
<jsp:fallback>
<p>unable to start plugin </p>
</jsp:fallback>
</jsp lugin>


Suggestions anyone?
Thanks
P.S. sorry for stupid faces, they replaced ":" + "p"
[ March 28, 2002: Message edited by: Gennady Shapiro ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Mark
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What version of the JDK are you using?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic