Original Post
Hi, I am using ImageIcon to load images in Java but I am trying to move it. I tried call the move function in actionPerformed function oof the main class - but this does not seem to work. This is what I am doing This seems to be wrong. Any ideas on how this is to be implemented in Java. Thanks
public Game extends JPanel implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
player.Move();
repaint();
}
}