Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/_03_gui_with_help/_4_body_part_quiz/BodyPartQuiz.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public class BodyPartQuiz {
// package,or if you prefer, get celebrity photos from the Internet,
// place them in the recipe package(body_part_quiz), and change the names below.

String firstImage = "src/_05_body_part_quiz/arnold.jpeg";
String secondImage = "src/_05_body_part_quiz/leonardo.jpeg";
String thirdImage = "src/_05_body_part_quiz/morgan.jpeg";
String fourthImage = "src/_05_body_part_quiz/jack.jpeg";
String firstImage = "src/_03_gui_with_help/_4_body_part_quiz/arnold.jpeg";
String secondImage = "src/_03_gui_with_help/_4_body_part_quiz/leonardo.jpeg";
String thirdImage = "src/_03_gui_with_help/_4_body_part_quiz/morgan.jpeg";
String fourthImage = "src/_03_gui_with_help/_4_body_part_quiz/jack.jpeg";

JFrame window = new JFrame();
JPanel panel = new JPanel();
Expand Down Expand Up @@ -104,4 +104,4 @@ private JLabel getNextImage() {

return new JLabel("No more images");
}
}
}