I don’t want to think Jun 13, 2019 There are days where I simply don’t want to think. I don’t want to have to think about anything. Is that wrong? I’m not sure. Is that okay? Nope, still not sure. It would be nice to be able to figure out everything that occurs in this life and yet here we all are, hoping something will happen. yet we simply don’t know or fully understand what will happen or when that will occur. So that’s life right now. Just deal with it I suppose.
A frame is a window for your application. It is the basic part and ground where your Swing application lives.
import javax.swing.JFrame;
public class Frame {
public static void main(String[] args) {
JFrame frame = new JFrame();
frame.setSize(400,400);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}
Comments
Post a Comment