|
|
@ -7,11 +7,7 @@ import javax.swing.JFrame; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.border.EmptyBorder; |
|
|
|
|
|
|
|
/** |
|
|
|
* Hello world! |
|
|
|
* |
|
|
|
*/ |
|
|
|
public class GamelauncherMain extends JFrame { |
|
|
|
public class GamelauncherMain extends JFrame {//class |
|
|
|
|
|
|
|
|
|
|
|
public int breite = 1270; |
|
|
@ -26,7 +22,7 @@ public class GamelauncherMain extends JFrame { |
|
|
|
|
|
|
|
private JPanel contentPane; |
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
public static void main(String[] args) {//main |
|
|
|
|
|
|
|
EventQueue.invokeLater(new Runnable() { |
|
|
|
|
|
|
@ -47,9 +43,9 @@ public class GamelauncherMain extends JFrame { |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}//end main |
|
|
|
|
|
|
|
public GamelauncherMain() { |
|
|
|
public GamelauncherMain() {//standardkonstruktor |
|
|
|
|
|
|
|
setTitle("Game Launcher Java, C Plus Plus ist besser"); |
|
|
|
//setIconImage(Toolkit.getDefaultToolkit().getImage(GameLauncherMain.class.getResource("/gamelauncher/media/GameLauncher1.ico"))); |
|
|
@ -66,6 +62,6 @@ public class GamelauncherMain extends JFrame { |
|
|
|
contentPane.setForeground(Color.GRAY); |
|
|
|
contentPane.setBackground(Color.DARK_GRAY); |
|
|
|
|
|
|
|
} |
|
|
|
}//end standardkonstruktor |
|
|
|
|
|
|
|
} |
|
|
|
}//end class |