This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Creating multiple images using a loop. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Creating multiple images using a loop." Watch "Creating multiple images using a loop." New topic
Author

Creating multiple images using a loop.

John Wayne
Greenhorn

Joined: Jun 18, 2007
Posts: 1
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

Joined: Nov 18, 2006
Posts: 689

Welcome to the Java Ranch,

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

 
GeeCON Prague 2014
 
subject: Creating multiple images using a loop.