joycollector
joycollector

Reputation: 2056

How can I open a web-page from my applet?

I have to open a page from class extended from javax.swing.AbstractAction class... Is that possible?

Upvotes: 0

Views: 826

Answers (1)

Christopher Tokar
Christopher Tokar

Reputation: 11917

Yes, it is possible.

getAppletContext().showDocument(url,"_blank"); 

The interface AppletContext has the method

Upvotes: 1

Related Questions