aspose file tools*
The moose likes Applets and the fly likes Good Site and a Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Good Site and a Question" Watch "Good Site and a Question" New topic
Author

Good Site and a Question

Florence Taylor
Greenhorn

Joined: Oct 25, 2004
Posts: 3
Hi everyone,
Feels great to be a part of the Ranch. I visited a site today called thejavahub.com to which i got linked from the signature in one of the posts. I've submitted my applications to them and wanted to know if anyone of you has used their services before. Generally the site looked good, but dunno how much they are worth.

Well, I've got a question too. You know, how we can use AppletContext.showDocument() to make a webpage launch in a browser. Well, I wanted a swing application to do the same. However, when I tried that, it didn't work. It works fine when i get an applet to do the same. I'd imported the java.applet package in this application. My purpose to get this done is to actually link to my home page from the about dialog of this application.

Thanks in advance.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Florence!

I'm moving this to the Applets forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Florence Taylor
Greenhorn

Joined: Oct 25, 2004
Posts: 3
Okie Dokie. I guess its my mistake. I should have done that in the first place. Anyways, thanks Dirk.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8873
    
    8

I think Dirk jumped the gun here. This is a general Java question, not an applet question.
In any case, the reason why AppletContext.showDocument() doesn't work in an application is because if you don't have an applet (i.e. launched by a browser), you don't have an applet context. And showDocument just tells the browser to navagate. No browser, no navigation. Take a look at BrowserLauncher. That should fit your need.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Florence Taylor
Greenhorn

Joined: Oct 25, 2004
Posts: 3
Thanks Joe, that was indeed very useful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Good Site and a Question