如何通过单击按钮在默认浏览器中打开链接
button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { open("www.google.com"); // just what is the 'open' method? } });
?
java browser desktop swing hyperlink
browser ×1
desktop ×1
hyperlink ×1
java ×1
swing ×1