Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loïc Perine
ProjetS2-2021-20-JMM
Commits
d48de351
Commit
d48de351
authored
Jun 25, 2021
by
Léo DUBOIS--JULIENNE
Browse files
.
parent
e66bfad6
Changes
8
Hide whitespace changes
Inline
Side-by-side
img/interface/bouton/BoutonRejouer1.png
→
img/interface/bouton/
resultat/
BoutonRejouer1.png
View file @
d48de351
File moved
img/interface/bouton/BoutonRejouer1Hover.png
→
img/interface/bouton/
resultat/
BoutonRejouer1Hover.png
View file @
d48de351
File moved
img/interface/bouton/BoutonRejouer1Pressed.png
→
img/interface/bouton/
resultat/
BoutonRejouer1Pressed.png
View file @
d48de351
File moved
img/interface/bouton/BoutonRetourFlotte1.png
→
img/interface/bouton/
resultat/
BoutonRetourFlotte1.png
View file @
d48de351
File moved
img/interface/bouton/BoutonRetourFlotte1Hover.png
→
img/interface/bouton/
resultat/
BoutonRetourFlotte1Hover.png
View file @
d48de351
File moved
img/interface/bouton/BoutonRetourFlotte1Pressed.png
→
img/interface/bouton/
resultat/
BoutonRetourFlotte1Pressed.png
View file @
d48de351
File moved
src/info1/Vue/OptPartie.java
View file @
d48de351
...
...
@@ -224,5 +224,4 @@ public class OptPartie extends JPanel {
//_____________________________________________listeners_____________________________________________//
public
void
FixeListenerCreation
(
ActionListener
listener
)
{
creerPartie
.
addActionListener
(
listener
);}
}
src/info1/Vue/Resultat.java
View file @
d48de351
...
...
@@ -111,4 +111,16 @@ public class Resultat extends JDialog {
public
void
fixeRejouerListener
(
ActionListener
action
)
{
rejouer
.
addActionListener
(
action
);
}
try
{
rejouer
=
new
JButton
(
new
ImageIcon
((
ImageIO
.
read
(
new
File
(
"img/interface/bouton/resultat/BoutonRejouer1.png"
))).
getScaledInstance
(
175
,
70
,
Image
.
SCALE_SMOOTH
)));
creerFlotte
.
setRolloverIcon
(
new
ImageIcon
((
ImageIO
.
read
(
new
File
(
"img/interface/bouton/resultat/BoutonRejouer1Hover.png"
))).
getScaledInstance
(
175
,
70
,
Image
.
SCALE_SMOOTH
)));
creerFlotte
.
setPressedIcon
(
new
ImageIcon
((
ImageIO
.
read
(
new
File
(
"img/interface/bouton/resultat/BoutonRejouer1Pressed.png"
))).
getScaledInstance
(
175
,
70
,
Image
.
SCALE_SMOOTH
)));
creerFlotte
.
setPreferredSize
(
DIMENSION_BOUTTONS
);
}
catch
(
IOException
e
)
{
System
.
out
.
println
(
"erreur lors du chargement d'une image"
);
e
.
printStackTrace
();
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment