Parent Directory | Revision Log | Patch
revision 1.6 by tromey, Fri Jan 25 17:25:07 2002 UTC | revision 1.7 by tromey, Tue Jan 29 16:30:26 2002 UTC | |
---|---|---|
# | Line 212 public class FlowLayout implements Layou | Line 212 public class FlowLayout implements Layou |
212 | if (comps[k].visible) | if (comps[k].visible) |
213 | { | { |
214 | Dimension c = comps[k].getPreferredSize (); | Dimension c = comps[k].getPreferredSize (); |
215 | comps[k].setLocation (x, y); | comps[k].setBounds (x, y, c.width, new_h); |
216 | x += c.width + vgap; | x += c.width + hgap; |
217 | } | } |
218 | } | } |
219 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |