Re: Invoke Local System service through Web Client
Andrew Thompson wrote:
An applet in a web page, as well as a JWS application or
applet can do everything a normal application can do. So
long as..
- The code is signed.
- The user accepts the signed code (when asked by Java)
(Note that while an unsigned JWS application or applet *can*
print using the javax.jnlp.PrintService, it still requires the
end user's confirmation/permission - there are no 'free lunches'
when it comes to printing from a web-page - it requires the end
user's active involvement)
The Java Plug-in does allow printing, but throws up a confirmation
dialog first.
It surprised me when I first saw it. Or at least when I saw the deadlock
from trying to print off the Event Dispatch Thread (might not be a
problem any more).
But, I've seen many web pages with JavaScript "Print" links that
actually do bring up a print dialog. (Most annoying, because what I
really want is for the page to be formatted on the screen reasonably.)
Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/