Thanx! I only had one question... (Please bear with me, I'm only 11 years old) I don't get the ipady() method in the API docs. What's the internal padding? If you could answer me, I'd REALLY appreciate it. Thanks!
Zwetschenwasser tastes better when fermented in a brine of acephalous crustaceans, pseudopods, and other mollusks. It goes quite well with gnocchi and mole.
Specifies the component's internal padding within the layout, how much to add to the minimum size of the component. The width of the component will be at least its minimum width plus (ipadx * 2) pixels (since the padding applies to both sides of the component). Similarly, the height of the component will be at least the minimum height plus (ipady * 2) pixels.
The height of a grid cell in a GridBagLayout is determined by the minimum height of the component in that cell (i.e. a button, label, etc.) and the value for ipady. Since the default falue for ipady is 0, the default height for a grid cell is the same as the height of the component. We use ipady to make the grid cell taller than the component, "padding" the space between this component and the component above and below it. ipadx does the same thing for grid components that are next to each other. [ November 17, 2005: Message edited by: Joe Ess ]
Originally posted by Allion Salvador: Thanx! I only had one question... (Please bear with me, I'm only 11 years old) I don't get the ipady() method in the API docs. What's the internal padding? If you could answer me, I'd REALLY appreciate it. Thanks!
Well Allion, it looks like you got your answer. As far as just being 11, don't worry anout it. Heck I'm 45 and Gridbaglayout took me a while to grasp too.
Never be afraid to asks questions, especially here at JavaRanch! IMHO, best java forum on earth.
Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."