I have a JMenuItem
which contains for example the label "mySite.com".
I added to it a listener to him like that :
...addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
/* do something */
}
});
So now I want to when I click to it, it redirect me to the http:/ /mySite.com.
Someone can enlighten me?
Use
Desktop.browse(URI)
, which..