• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating multiple images using a loop.  RSS feed

 
John Wayne
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How? I've tried many times, this is what I have so far:
But, I want to display the images within a certain amount of pixels so they don't overlap, help?
 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Java Ranch,

You could use a GridBagLayout and a GridBagConstraints object instead of using a null layout manager.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!