I'm only 13 and Java can be hard to understand. I need to change the icon in the top left hand corner on my screen but I can't figure it out. I have seen a lot of forum topics but don't understand it or where to put the method! Please Help!
Here is my code:
import javax.swing.JFrame;
public class Frame extends JFrame
{
public Frame()
{
//options for the frame
setTitle("Builder");
setSize(1000, 650);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setResizable(true);
}
//shortcut setting
public static void main(String[] args)
{
Frame f = new Frame();
}
}