• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Button

 
Jane Kendel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to figure out how to get a button in my applet to open a new URL when it is clicked. I am definitely a beginner, so any help would be greatly appreciated!
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jane,
Below is a very simple applet code. It has one button and when the user clicks the button they are connected to the JavaRanch (assuming they have an internet connection):


It is not very pretty, but hopefully it will get you started. Hope this helps. If not, let us know.
Stephanie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic