Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

trying to make compact grid  RSS feed

 
Karen Nelson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am writing a miniscule program and wanted to use a compact grid for the GUI. I got the code directly from the JavaTutorial online, but the compiler tells me it doesn't know what SpringUtilities is. Can anyone tell me what I'm doing wrong?

Thank you! Karen.


[ November 13, 2005: Message edited by: Karen Nelson ]
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a 7kb file you can download from the link SpringUtilities.java under the section
"Utility Methods for Grids" on the How to Use SpringLayout page in the tutorial.
[ November 13, 2005: Message edited by: Craig Wood ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!