• 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

2 Questions + 1 Meta-Question

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My question 1 is: how can I make an applet that spawns its own
separate window? The effect I'm after is that when the applet is
loaded by the browser, it spawns a separate small window (without
any of standard browser buttons: Back, Forward, etc.), in which
it runs. The aim is to let the user keep the applet unotrusively
around while he/she continues browsing. How is this done?
My question 2 is: assuming that the behavior described in
question 1 is possible, is it possible for the applet to query
the browser to find out the URL the browser is currently
visiting?
My meta-question: which of the dozens of Java books would have
the answer to this question? Is there an "advanced" applets
book out there? (My search of Amazaon was not fruitful.)
Many thanks!
KJ
 
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at this online text about java
Somewhere inside is an example of what you need http://math.hws.edu/javanotes/
If not succesful, mail me gragert@math.utwente.nl
after looking at this 'example' ? http://www.math.utwente.nl/~gragert/Live_Math/TaylorError.html
go to the 'green' button (an applet) and push it.
If thats what you want ...
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can have a frame in your applet... however, I know of no way that it could detect what page your browser is currently on... The only URL you can get directly from the applet is the URL that the applet is running from...

Here is a short example of a frame in an applet...

 
reply
    Bookmark Topic Watch Topic
  • New Topic