summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/intro/VmWareLink_GUI.java
diff options
context:
space:
mode:
authorMichael Wilson2014-05-21 15:15:57 +0200
committerMichael Wilson2014-05-21 15:15:57 +0200
commita85bec18a2e425de66c9685af31b2d61f8e9fdec (patch)
treebd8e341449fe69f66a81d73bfd20bb17b6bd81a2 /Dozentenmodul/src/gui/intro/VmWareLink_GUI.java
parentVerlinkung zum VMWare Player Download geht jetzt (diff)
downloadtutor-module-a85bec18a2e425de66c9685af31b2d61f8e9fdec.tar.gz
tutor-module-a85bec18a2e425de66c9685af31b2d61f8e9fdec.tar.xz
tutor-module-a85bec18a2e425de66c9685af31b2d61f8e9fdec.zip
Download-Links sind nun zentral in der Klasse "Links" festgelegt.
Diffstat (limited to 'Dozentenmodul/src/gui/intro/VmWareLink_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/intro/VmWareLink_GUI.java17
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