April 17th, 2002, 08:18 AM
Please help-Layout Problem!!!
I need urgent help on layout in java.
I have 3 shapes that has specific (x,y) coordinates , ie shape1, shape 2, etc. by using a random function, I pick 3 random numbers. Say 101 . means shape 1,shape 0, shape 1 again. When i draw these shapes, because of the specific co-ordinates, my shapes ends up top of each other. I've ended up seeing 2 shapes instead of 3. Is there anyway that I can display them side by side regardles of the coordinates.
April 18th, 2002, 04:05 AM
u can use gridbaglayout....