• Post Reply Bookmark Topic Watch Topic
  • New Topic

Containers and getContentPane()  RSS feed

 
Don Wite
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wasn't sure if here, or in the GUI section, was the best place for this...

Can anyone point me toward either a couple good internet resources, or books (beginner/intermediate level) that touch on Swing and GUI stuff?

I'm especially struggling with Containers and the whole getContentPane() concept. Said another way, I'm unsure about when to use a container, and how it all fits in with frames and panels.

Not every program I look at uses a container, so then I wonder about what drives the decision to do so.

I'm going thru a few links here and there which address a lot of GUI/Swing stuff, but I feel there is some basic foundational concept that I missed in my first java class...

Anyone have any suggestions?
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, for free you can go to:

The Java Swing Tutorial
Java Almanac

As for books I can recommend the following that I have read:

Java Swing, 2nd Edition
JFC Swing Tutorial
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We have a strict policy on display names, which must be a real first and last name with a space between. Initials aren't enough.

Please go here and fix your display name up, pronto. Thanks, pardner!
 
Don Wite
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
Hi,

Welcome to JavaRanch!

We have a strict policy on display names, which must be a real first and last name with a space between. Initials aren't enough.

Please go here and fix your display name up, pronto. Thanks, pardner!


The name policy link didn't work, but I get the message. Name has been fixed.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Don Wite:

The name policy link didn't work


Yes, the true link is http://www.javaranch.com/name.jsp (notice the missing "s").
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!