posted 23 years ago
No, no GridBag constraints. The only option when adding a component is to specify an integer orbit (or 0 if you want the component to become the center. When the manager is asked for sizing information or asked to layout the components, it determines the radii for all the orbits and places the centerpoint of each component on its orbit's radius.
I'll definitely share the code when I get it working, but for now, I have not even figured out the layout code. I have a nice formula for computing the radius, but that's about it for now. I was planning to brush up on my polar coordinates in order to make laying out the components easier. Then, when all components have their coordinates, I'll translate them back into Cartesian coordinates. Anyone know of a good primer on polar coordinates?