maj
This commit is contained in:
parent
96f3c4accc
commit
daaf99fa09
Binary file not shown.
Binary file not shown.
BIN
icons/evalwriter32.png
Normal file
BIN
icons/evalwriter32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
@ -5,6 +5,7 @@ import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.EmptyBorder;
|
||||
|
||||
import MEPTL.commandes;
|
||||
import cXML.node;
|
||||
|
||||
import javax.swing.JButton;
|
||||
@ -18,6 +19,8 @@ import javax.swing.JComboBox;
|
||||
import javax.swing.JTextField;
|
||||
import javax.swing.SwingConstants;
|
||||
import javax.swing.DefaultComboBoxModel;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
import java.awt.event.ActionListener;
|
||||
|
||||
public class allContent extends JFrame {
|
||||
@ -53,30 +56,42 @@ public class allContent extends JFrame {
|
||||
point = Integer.valueOf(value);
|
||||
}
|
||||
|
||||
|
||||
setTitle("allContent");
|
||||
setResizable(false);
|
||||
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
setBounds(100, 100, 450, 300);
|
||||
setBounds(100, 100, 556, 326);
|
||||
|
||||
setTitle("allContent");
|
||||
ImageIcon img = new ImageIcon(getClass().getResource("/evalwriter.png") );
|
||||
int screenWidth = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getWidth();
|
||||
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
||||
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
||||
|
||||
setTitle("allContent" + commandes.Titre + " " + commandes.version + " " + commandes.branch);
|
||||
setIconImage(img.getImage());
|
||||
|
||||
|
||||
|
||||
|
||||
contentPane = new JPanel();
|
||||
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||
setContentPane(contentPane);
|
||||
contentPane.setLayout(null);
|
||||
|
||||
JButton btnNewButton = new JButton("Valide");
|
||||
btnNewButton.setBounds(295, 216, 114, 34);
|
||||
btnNewButton.setFont(new Font("Tahoma", Font.BOLD, 12));
|
||||
btnNewButton.setBounds(394, 237, 121, 39);
|
||||
contentPane.add(btnNewButton);
|
||||
|
||||
JLabel lblValeurDeLattribut = new JLabel("Type d'évaluation");
|
||||
lblValeurDeLattribut.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
||||
lblValeurDeLattribut.setBounds(10, 105, 130, 22);
|
||||
lblValeurDeLattribut.setBounds(10, 105, 130, 23);
|
||||
contentPane.add(lblValeurDeLattribut);
|
||||
|
||||
JLabel lblDescription = new JLabel("<html>Cet attribut permet d'évaluer le contenu du node et de celui des nodes enfants de ce node.<br>"
|
||||
+ "Par conséquent, tous les nodes enfants seront évalués.</html>");
|
||||
lblDescription.setLabelFor(this);
|
||||
lblDescription.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
||||
lblDescription.setBounds(10, 11, 399, 50);
|
||||
lblDescription.setBounds(10, 11, 520, 50);
|
||||
contentPane.add(lblDescription);
|
||||
|
||||
comboBoxValeur = new JComboBox<String>();
|
||||
@ -111,7 +126,7 @@ public class allContent extends JFrame {
|
||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node peut être plus ou moins proche (voir le paramètre similude), la CASE est ignorée.</html>");
|
||||
}
|
||||
|
||||
lblExplication.setBounds(10, 149, 399, 56);
|
||||
lblExplication.setBounds(10, 158, 520, 56);
|
||||
contentPane.add(lblExplication);
|
||||
|
||||
|
||||
|
@ -63,6 +63,11 @@ public class attributs extends JFrame {
|
||||
|
||||
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
setBounds(100, 100, 806, 669);
|
||||
int screenWidth = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getWidth();
|
||||
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
||||
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
||||
|
||||
|
||||
contentPane = new JPanel();
|
||||
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||
setContentPane(contentPane);
|
||||
@ -72,6 +77,8 @@ public class attributs extends JFrame {
|
||||
setIconImage(img.getImage());
|
||||
setTitle(commandes.Titre + " - Les attributs de Writer");
|
||||
|
||||
|
||||
|
||||
JPanel panelGauche = new JPanel();
|
||||
contentPane.add(panelGauche, BorderLayout.WEST);
|
||||
|
||||
|
BIN
src/resources/evalwriter32.png
Normal file
BIN
src/resources/evalwriter32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Loading…
Reference in New Issue
Block a user