Using the XYLayout Manager

The XYLayout component is a JBuilder custom layout manager that comes only with the SE and Enterprise versions of JBuilder. It places components in a container at specific x and y coordinates relative to the top-left corner of the given container. Regardless of the deployment environment, the container always retains the relative x and y positions of the components (see Figure 12.2). Resizing a container with a XYLayout, however, does not resize or reposition the components within the container. For example, if you maximize the screen, the components stay the same relative distance from the top-left corner of the container.

Figure 12.2. Layout demonstration using XYLayout.

NOTE

When you select the XYLayout in the ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.