142143144145146147148149150151152
// set the animation frame animationFrame = AnimationFrame.ONSHOW; // set the achievement window frame = new AchievementWindow(); // set the message frame.setMessage(message); // calculate X and Y positions