Labot2001 Posted September 30, 2009 Share Posted September 30, 2009 Hey all, I want to print a link in Java. I don't want to print a URL, I want print text that will open the link in the user's web browser. Ex. URL: http://youtube.com text: Youtube Google results have showed me how to print a URL, but not a text-link. Any help would be much appreciated :D Link to comment Share on other sites More sharing options...
0 Argote Posted October 1, 2009 Share Posted October 1, 2009 Are you outputting to the screen or to a file, if so, what kind of file is it? AFAIK if you are outputting to the command line there is no way for it to be a link since you'd need to use a browser or some other "link-aware" viewer for it, even so it'd need to be in the form of an HTML (or any other supported kind of link for the viewer) tag. Link to comment Share on other sites More sharing options...
Question
Labot2001
Hey all,
I want to print a link in Java. I don't want to print a URL, I want print text that will open the link in the user's web browser.
Ex. URL: http://youtube.com
text: Youtube
Google results have showed me how to print a URL, but not a text-link. Any help would be much appreciated :D
Link to comment
Share on other sites
1 answer to this question
Recommended Posts