Ex) 1,2,3 단계에서 만든 것을 활용해서 태양계 애니메이션을 만든다. Sol) public class Animation extends JFrame { static int width = 2000; static int height = 1000; static JPanel page1 = new JPanel() { Image background = new ImageIcon(Animation.class.getResource("\\img\\sun.png")).getImage(); public void paint(Graphics g) { g.drawImage(background, width / 2 - 100, height / 2 - 100, null);// background를 그려줌, x값은 x값 그대로, y값..