Commencement de la vue principal (pas encore fini nous metons les bases)
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
package fr.iutfbleau.papillon.vue;
|
||||||
|
|
||||||
|
import javax.swing.*;
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public class VuePrincipale extends JFrame {
|
||||||
|
// composants publics “contrôlés” par le contrôleur
|
||||||
|
public final JTextField champTitre = new JTextField(20);
|
||||||
|
public final JTextArea champContenu = new JTextArea(4, 20);
|
||||||
|
public final JTextArea zoneAffiche = new JTextArea(12, 26);
|
||||||
|
public final JButton boutonAjouter = new JButton("Ajouter");
|
||||||
|
public final JButton boutonLister = new JButton("Lister");
|
||||||
|
|
||||||
|
public VuePrincipale() {
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user