JFormDesigner / FlatLaf

FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
https://www.formdev.com/flatlaf/
Apache License 2.0
3.34k stars 266 forks source link

The JFormDesigner Test Form is not the same as when the code is executed #552

Closed Jesse-Lyu closed 2 years ago

Jesse-Lyu commented 2 years ago

This is the JFormDesigner Test Form: image This is the code running: image Why are they different?Please help me,thx.

DevCharly commented 2 years ago

Please report JFormDesigner (Java/Swing GUI Designer) related issues to support@formdev.com. Only FlatLaf related issues should be reported here.

The wrong titled border in the first screenshot is a bug in JFormDesigner. We'll fix it in the next version. Thanks for reporting.

The reason that the window in the second screenshot is too small, it probably that you set property "Size policy" to "Design size".

image

Better use "Preferred size". If then the window is too small, either give grid columns a preferred/minimum width, or set property JTextField.columns.

DevCharly commented 2 years ago

The wrong Nimbus titled border in "Test Form" is fixed in JFormDesigner 7.0.7: https://www.formdev.com/jformdesigner/download/

Jesse-Lyu commented 2 years ago

Although the bug has been fixed, the original preview effect is more beautiful. @DevCharly Can u tell me how can i use it? thx.