I'm doing a project for class and I have a few questions
1. I need code to output an image to the screen in a "ready to program" type of thing(console)?
2. how would you convert these lines from an applet to be able to be used in an HSA console application template?

import javax.swing.*;

public class AnimationApplet extends JApplet
{
public void init ()
{
ImageIcon icon = new ImageIcon ("images/rolling.gif"); // animated gif
getContentPane ().add (new JLabel (icon));
}
}

Thank you