They say when life gives you lemons to make lemonade. Well if you happen to have something else to put in it? I’d say to add it right away. You never know what it will taste like. It might be something quite delicious. Oh yeah, make it good and see what’s out there for it. Never underestimate that which you are able to figure out for yourself. If you can’t do it, you have to be able to try and figure out a different way. Then you can do whatever you need to do and be happy with that thought process. If by chance, this life doesn’t get figured out then it will have to become something else. Whatever the case, if the lemonade doesn’t hold…you can’t do anything about it. That’s just how it works most days.
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