• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help getting started on swing application

 
Jesse Crockett
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm coming back to learning java after several months of php work. Basically I just need a few pointers about the most efficient way to go about building a basic application such as the following, which layout manager is best for this (and easiest, preferably). thanks again..

 
Greg Moose
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is that simple and you are just starting out, use the free NetBean IDE and take advantage of Matisse. JGoodie's Form Layout Manager has always gotten good press.
 
Jesse Crockett
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to code it by hand. Also, how do I make those borders with multiple objects inside them?

thanks
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Use GridBagLayout and its constraints. That will help you design a gui. Look at BorderFactory for drawing borders in the gui.

bye for now
sat
 
Brian Cole
Author
Ranch Hand
Posts: 920
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by satishkumar janakiraman:
Use GridBagLayout and its constraints.


Personally, I would not use GridBagLayout.
Some people like GridBagLayout, but the learning curve is steep.
I'm past the learning curve, but I still don't use it much.

For this, I would use GridLayout once or twice but mostly BorderLayout.
 
Jesse Crockett
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to ask more help, but I guess it would equate to laziness on my part. I'm kind of frustrated by how much swing I've forgotten since coding many of these simple apps last semester...

Also, hoot, 3-figures in the posting range -- my 100th JavaRanch post!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!