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.
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.