diff options
Diffstat (limited to 'Dozentenmodul/src/gui/intro/VmWareLink_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/intro/VmWareLink_GUI.java | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Dozentenmodul/src/gui/intro/VmWareLink_GUI.java b/Dozentenmodul/src/gui/intro/VmWareLink_GUI.java index 41515eff..4d610587 100644 --- a/Dozentenmodul/src/gui/intro/VmWareLink_GUI.java +++ b/Dozentenmodul/src/gui/intro/VmWareLink_GUI.java @@ -44,8 +44,8 @@ public class VmWareLink_GUI extends JFrame { private final JPanel contentPanel = new JPanel(); String[] result; - String uriWindows="https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_player/6_0"; - String uriLinux="https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_player/6_0"; + //String uriWindows="https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_player/6_0"; + //String uriLinux="https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_player/6_0"; JCheckBox chckbxNewCheckBox; private JButton btnWindows; @@ -163,7 +163,7 @@ public class VmWareLink_GUI extends JFrame { btnWindows.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { try { - URI windows= new URI(uriWindows); + URI windows= new URI(Links.getUriWindows()); openWebpage(windows); } catch (URISyntaxException e) { // TODO Auto-generated catch block @@ -179,7 +179,7 @@ public class VmWareLink_GUI extends JFrame { btnLinux.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { try { - URI windows= new URI(uriLinux); + URI windows= new URI(Links.getUriLinux()); openWebpage(windows); } catch (URISyntaxException f) { // TODO Auto-generated catch block @@ -283,12 +283,5 @@ public class VmWareLink_GUI extends JFrame { } } }// end openWebpage - - public static void openWebpage(URL url) { - try { - openWebpage(url.toURI()); - } catch (URISyntaxException e) { - e.printStackTrace(); - } - } + }// end class |
