File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 Questions + 1 Meta-Question

 
Kevin Jaffe
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Peter Gragert
Ranch Hand
Posts: 424
  • 0
  • Mark post as helpful
  • send pies
  • 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 ...
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic