Skip to content
Snippets Groups Projects
Commit f5bda2f1 authored by CHEVALIER Noemy's avatar CHEVALIER Noemy
Browse files

Suppression boutons couleurs et touches

parent 007a50d8
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ class ShukanParameters extends JFrame {
/** panels of the graphic interface */
private JPanel pPrincipal,p, p1;
/** buttons of the graphic interface */
private JButton changerdetheme, theme1, theme2, theme3, retour, changertouches, changercouleurs;
private JButton changerdetheme, theme1, theme2, theme3, retour;
/** view of the app */
private ShukanView canvas;
/** Color background, text, hollydays*/
......@@ -33,12 +33,6 @@ class ShukanParameters extends JFrame {
changerdetheme = new JButton("Changer de thème");
changerdetheme.setPreferredSize(new Dimension(190, 25));
changertouches = new JButton("Changer les touches");
changertouches.setPreferredSize(new Dimension(190, 25));
changercouleurs = new JButton("Changer les couleurs");
changercouleurs.setPreferredSize(new Dimension(190, 25));
changerdetheme.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
......@@ -115,15 +109,6 @@ class ShukanParameters extends JFrame {
gbcprinc.gridy = 0;
gbc.fill = GridBagConstraints.HORIZONTAL;
p.add(changerdetheme, gbcprinc);
gbcprinc.gridx = 0;
gbcprinc.gridy = 1;
p.add(changertouches, gbcprinc);
gbcprinc.gridx = 0;
gbcprinc.gridy = 2;
p.add(changercouleurs, gbcprinc);
pPrincipal = p;
add(pPrincipal);
......@@ -163,14 +148,6 @@ class ShukanParameters extends JFrame {
gbc.fill = GridBagConstraints.HORIZONTAL;
p.add(changerdetheme, gbcprinc);
gbcprinc.gridx = 0;
gbcprinc.gridy = 1;
p.add(changertouches, gbcprinc);
gbcprinc.gridx = 0;
gbcprinc.gridy = 2;
p.add(changercouleurs, gbcprinc);
pPrincipal = p;
add(pPrincipal);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment