• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hypertextlinks in applets

 
Rikard_Qvarforth
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all ... i am a newbie at this so.. .
How do you get a hypertextlink in a applet ?
thanks !!
Rille
 
Golam Newaz
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly put the following line into your Applet changing link.
But it should be with a new window. I could give you the code
which should be pasted into your current window but it is
1:30 am at night. I am so tired. Good bye
try {
this.getAppletContext().showDocument(new URL("http://www.webbangladesh.com"),"newWindow");
}
catch (MalformedURLException e){}

- Golam Newaz
------------------
 
Rikard_Qvarforth
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You !!
hava a nice sleep
Rille
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!