Fenêtre principale
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
public class AppThinker {
|
||||
//JavaDoc tags : @param @return @throws @author @version @see @since @serial @deprecated
|
||||
|
||||
/**
|
||||
* La classe principale de AppThinker
|
||||
* @param args Les arguments de la méthode principale.
|
||||
* @author V.BOULANGER
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
AppThinkerWindow window = new AppThinkerWindow();
|
||||
window.setVisible(true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class AppThinkerWindow extends JFrame {
|
||||
|
||||
/**
|
||||
* Constructeur de la classe AppThinkerWindow
|
||||
* @author V.BOULANGER
|
||||
*/
|
||||
public AppThinkerWindow(){
|
||||
this.setTitle("AppThinker");
|
||||
this.setExtendedState(JFrame.MAXIMIZED_BOTH);
|
||||
Image img = null;
|
||||
try { img = ImageIO.read(AppThinker.class.getResource("img/logoAppThinker.png")); } catch (Exception ex) { }
|
||||
this.setIconImage(img);
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
this.setLocation(0, 0);
|
||||
this.setSize(500, 500);
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user