Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SAE2.01 - Developpement application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIQUEREZ Corentin
SAE2.01 - Developpement application
Commits
f5bda2f1
Commit
f5bda2f1
authored
1 year ago
by
CHEVALIER Noemy
Browse files
Options
Downloads
Patches
Plain Diff
Suppression boutons couleurs et touches
parent
007a50d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shukan/ShukanParameters.java
+1
-24
1 addition, 24 deletions
shukan/ShukanParameters.java
with
1 addition
and
24 deletions
shukan/ShukanParameters.java
+
1
−
24
View file @
f5bda2f1
...
@@ -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
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment