View Single Post
  #1 (permalink)  
Old 07-23-2007, 02:12 AM
leonard leonard is offline
Member
 
Join Date: Jul 2007
Posts: 43
leonard is on a distinguished road
How to use JLabel with html
I have to open some html page.
this is my code

Code:
oblab = new JLabel("<html><a href=C:\\Documents and Settings\\Allusers\\ My Documents\\d.html>hello</a></html>");
I want to open html file in browser when I click on JLabel, but it doesn't work
what's the problem?
Reply With Quote
Sponsored Links