114115116117118119120
setSize(FRAME_WIDTH, FRAME_HEIGHT); addMouseListener(this); addMouseMotionListener(this); setLocationRelativeTo(null); setResizable(false); getContentPane().add(new BackgroundImage(FRAME_WIDTH, FRAME_HEIGHT)); }