Is there a way to set ac.getPage()
as a hyperlink to open in broswer when clicked on? ac.getPage()
returns a string
which is an actual fact a url of a persons blog. I tried attaching the following java.awt.Desktop.getDesktop().browse(java.net.URI.create(ac.getPage())
and error says void
is not allowed? How can i correct this?
pageLabel.setText("Page: " + ac.getPage());