View Single Post
  #1 (permalink)  
Old 07-04-2008, 03:42 PM
lemon3 lemon3 is offline
Member
 
Join Date: Jul 2008
Posts: 3
lemon3 is on a distinguished road
launch a browser with a button
Hi, i just started java and try to make a button that launches
a web-browser with a predefined url... in netbeans. does anyone
knows how to do that?
i imported java.awt.Desktop, and tried to put some method
in the button when it clicks.. but i dont get it to work..
does anyone know where to put the classes and methods
and what they should look like
can anyone help me??
this is my first java program btw


thanks, and good luck
Reply With Quote
Sponsored Links