Had a sleepless night last night. No matter what I did I couldn’t fall asleep. I’m not sure what’s up with that? Is it the smoke in the air from the fires? I mean yeah I’m experiencing shortness of breath and wheezing because of the smoke in the air. It feels like I have something in my throat that won’t go away. It would be nice if it did go away though, I’m not sure how that’s supposed to work. It seems like I never know how this life tends to work at times. I wish I did though, that would be a good thing! Yet here I am, and I’m suffering in silence do to it all. I kept tossing and turning last night. Every time I thought I was going to fall asleep, I actually didn’t fall asleep. My back hurts too. [Wife] thinks it’s stress related, that could be the case. Eh, who knows how any of this life works most of the time? I sure as hell don’t! I need to have a good nights rest at times. I know [Wife] doesn’t sleep worth a damn either and she suffers from it. I wish that wasn’t the case. I ...
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