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);
}
}
Tuesday, July 28, 2020
Create a Frame
A frame is a window for your application. It is the basic part and ground where your Swing application lives.
Subscribe to:
Post Comments (Atom)
A Placebo?
At times I wonder if my medication is just a placebo. That is a medication that usually has no effect on a disease. Am I dreaming it all up...
-
Over the years I've had to deal with suicidal ideation. Those are thoughts of being dead, some more extreme than others. It causes issu...
-
Let's face it, this life isn't easy. Ther are things that we must do daily in order to survive. It can feel like you don't have...
-
Ever have that feeling that no one is listening to you? Yeah, that feeling. It can be a strong feeling to have, a hurtful feeling also. The...
No comments:
Post a Comment