File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Appletviewer without DOS-Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Appletviewer without DOS-Window" Watch "Appletviewer without DOS-Window" New topic

Appletviewer without DOS-Window

Michael Herrmann
Ranch Hand

Joined: Dec 06, 2003
Posts: 60
I don't know if this is right in here, please move this thread if it is not.
I'm using appletviewer to run an applet. When I run any applet via appletviewer, this DOS window pops up and closes only if the applet itself is closed. How do I get rid of this DOS window?

Thanks in advance.

Michael Herrmann
Joe Ess

Joined: Oct 29, 2001
Posts: 9188

You can't. Appletviewer is only intended for the testing of applets. If you don't want a prompt you will have to convert your applet to an application and use javaw.

[How To Ask Questions On JavaRanch]
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
Or just use your browser to test applets.

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
I agree. Here's the link:
subject: Appletviewer without DOS-Window
It's not a secret anymore!