Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet and Browser

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
There is some way for an applet to force its visualization in the browser to a certain area of the panel??
And please don�t question the reason of why I must do this...
thanks!
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arthur
The answer would be no as far as I know. Because we include applet in the browser via the "applet" or the "embed/object" tags which are html tags. So wherever we put those tags, applet gets displayed. So, once displayed I dont think we can change it. If we are rendering the html via JSP or similar dynamic pages then we can put those applet tags whever we want but once rendered in html we can't change it...
Does this provide some light to you?
Regards
Maulin
 
Arthur Campos
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply, Maulin Vasavada.
Well, I think the same thing... once rendered on html page, we can�t change the state of the browser through the applet.
But I was thinking if this is possible to do...
 
Arthur Campos
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey fellows, I already solved my problem by using an anchor in html code, like this:
<a href=# name=applet>
<applet>....</applet>
</a>
And I used the following code in the applet:

thanks!
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic