Swing

This is cool:

http://beginnersjavatutorials.blogspot.com/2008/01/java-swing-example.html

Make the textbox go larger than the frame.  What I like is that the Java compiler told me why it wouldn’t run this code at first, and so I fixed line 7 to read:

frame.getContentPane().add(panel);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s