24 lines
705 B
Java
24 lines
705 B
Java
|
|
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);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|