redirection

Hi,I have a java applet and I'd like to be able to redirect the user when he clicks on a JButton, what must I write in my actionPerformed method ?Thank you.Romain
[191 byte] By [koala993a] at [2007-10-3 2:34:43]
# 1
http://java.sun.com/docs/books/tutorial/deployment/applet/browser.html
JNameNotTakena at 2007-7-14 19:33:41 > top of Java-index,Java Essentials,Java Programming...
# 2
Ok thanks, but when I do this :String url = "testpage.jsp";this.getAppletContext().showDocument(new URL(url));Nothing happens, and there are no errors shown in the Java Console.Any ideas because I really don't see the problem ,Romain.
koala993a at 2007-7-14 19:33:41 > top of Java-index,Java Essentials,Java Programming...
# 3
I found the problem, I had to put a non relative URL.
koala993a at 2007-7-14 19:33:41 > top of Java-index,Java Essentials,Java Programming...