public class Main {
    public static void main(String[] args) {
        JFrame frame = new JFrame("子弹追踪示例");
        GamePanel panel = new GamePanel();
        frame.add(panel);
        frame.setSize(600, 600);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
    }
}