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 { ...@@ -10,7 +10,7 @@ class ShukanParameters extends JFrame {
/** panels of the graphic interface */ /** panels of the graphic interface */
private JPanel pPrincipal,p, p1; private JPanel pPrincipal,p, p1;
/** buttons of the graphic interface */ /** 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 */ /** view of the app */
private ShukanView canvas; private ShukanView canvas;
/** Color background, text, hollydays*/ /** Color background, text, hollydays*/
...@@ -33,12 +33,6 @@ class ShukanParameters extends JFrame { ...@@ -33,12 +33,6 @@ class ShukanParameters extends JFrame {
changerdetheme = new JButton("Changer de thème"); changerdetheme = new JButton("Changer de thème");
changerdetheme.setPreferredSize(new Dimension(190, 25)); 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() { changerdetheme.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
...@@ -115,15 +109,6 @@ class ShukanParameters extends JFrame { ...@@ -115,15 +109,6 @@ class ShukanParameters extends JFrame {
gbcprinc.gridy = 0; gbcprinc.gridy = 0;
gbc.fill = GridBagConstraints.HORIZONTAL; gbc.fill = GridBagConstraints.HORIZONTAL;
p.add(changerdetheme, gbcprinc); 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; pPrincipal = p;
add(pPrincipal); add(pPrincipal);
...@@ -163,14 +148,6 @@ class ShukanParameters extends JFrame { ...@@ -163,14 +148,6 @@ class ShukanParameters extends JFrame {
gbc.fill = GridBagConstraints.HORIZONTAL; gbc.fill = GridBagConstraints.HORIZONTAL;
p.add(changerdetheme, gbcprinc); 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; pPrincipal = p;
add(pPrincipal); 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