In today's effort has been completed in the existing code based on the completion of the order to display three pictures of the function. This is also the 16th week of Friday database connection and random number of the use of the project in the experiment class one model, closer to the goal, their hearts see greater hope, hope to do better. If you can make the project a better one, then the random display and results from the "guess" image are saved to the text file and the 17th week of the Java Programming Course design: "Guessing" game Ava programming 17th week course Design: "Guess See" game these two goals is not far, feel a long way to go.
Plus today's implementation order displays the core code of the picture:
String strtmp = filearray[index].tostring ();
index++;
if (index==num_img)
index = 0;
Lblimg1.seticon (New ImageIcon (strtmp));
Lblimg2.seticon (New ImageIcon (strtmp));
Lblimg3.seticon (New ImageIcon (strtmp));
}
Here is the result of the run:
After clicking the "Guess Again" button:
Today has not been able to show the part of the name to make, and continue to refuel tomorrow. ******