Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Game GUI

 
Andy Rayner
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello i have been trying to layout this game from a picture



i have had an attempt and my gui has turned out like this lol



I have used a border layout and in the center i have put a gridlayout for each indivdual dice object, using a loop i have entered 24 dice into a 6,4 grid.
in the east i have put my text boxes which will hold the number of similar dice in each row, but they are squashed up.i have used a gridlayout in here which is just 4 rows. and on the south i have used a flowlayout.

Anyone got any tips?
Regards
Andy
[ February 19, 2005: Message edited by: Andy Rayner ]
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andy,

Here you go..
 
Andy Rayner
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks alot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic