Эх сурвалжийг харах

Ajout d'une image vide et début de l'interface

Nathan Spaeter 5 жил өмнө
parent
commit
792dd79b71
4 өөрчлөгдсөн 37 нэмэгдсэн , 0 устгасан
  1. 9 0
      jul.iml
  2. BIN
      jul.xcf
  3. BIN
      jul_img/absent.png
  4. 28 0
      src/main/View.java

+ 9 - 0
jul.iml

@@ -16,5 +16,14 @@
         <SOURCES />
       </library>
     </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library>
+        <CLASSES>
+          <root url="jar://$USER_HOME$/weka.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
   </component>
 </module>

BIN
jul.xcf


BIN
jul_img/absent.png


+ 28 - 0
src/main/View.java

@@ -0,0 +1,28 @@
+package main;
+
+import javax.swing.*;
+import java.awt.*;
+
+public class View extends JFrame {
+
+    private JButton boutonExport= new JButton("Exporter");
+    private JButton boutonReset = new JButton("Décocher cases");
+    private JPanel pan = new JPanel();
+    private GridLayout grid = new GridLayout();
+
+    public static void main(String[] args){
+        new View();
+    }
+
+    public View(){
+        this.setTitle("Jul Project");
+        this.setSize(800, 800);
+        this.setLocationRelativeTo(null);
+        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+        this.setLayout(new BorderLayout());
+        this.getContentPane().add((pan), BorderLayout.SOUTH);
+        pan.add(boutonExport);
+        pan.add(boutonReset);
+        this.setVisible(true);
+    }
+}