Skip to content

Migration guide for code coming from ancient WindowBuilder Pro? #498

@Zastai

Description

@Zastai

We have an old customer coming back to us.

Almost 20 years ago, we delivered a project which included Swing screens using a set of custom components.
When used in their current environment (Windows Server 2003 x86, JDK 1.7.0_90, Eclipse 3.3.1.1 and WindowBuilder Pro 6.4.1 (2007/08/13)), these design just fine.
However, they are trying to update their environments and go over to 64-bit, which means they also have to upgrade to a current WindowBuilder. This is causing design time problems for large screens. If we "downgrade" the screens to use plain Swing controls, the problem goes away, so it is likely a compatibility issue situated in our own components.

Is there a migration guide that describes things that need to be done differently in order to work with WindowBuilder compared to the ancient Pro version?

Issue Description

In WindowBuilder Pro, they have

image

The screen is 90 lines high, so 1530 pixels (component/line height is fixed at 17 pixels).
The screen's vertical resolution is 1080 pixels.
All items are visible.

The same screen in the current environment (Windows Server 2019 x64, OpenJDK 17.0.6, Eclipse 2023-03 (4.27.0) and WindowBuilder 1.12.0) is not shown completely:

image

Same size and resolution.
The first partially visible item is at 1055 pixels.
Given that the component height is fixed at 17 pixels, its lower edge should be at 1072 pixels.

If they reduce the vertical resolution to 1024, then the visibility is commensurately reduced:

image

Note that they claim they already investigated the free WindowBuilder over a decade ago, and saw the same problem at that time, which is mainly why they did not switch. The x86->x64 push is now forcing their hand.

If there is no migration guide, and none of this rings a bell as a known issue, I can attach the source of the screen in question along with our component jar for further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions