netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

The main Options dialog window has buttons with OK on the left instead of on the right on Linux

Open FredAncestris opened this issue 1 month ago • 0 comments

Apache NetBeans version

Apache NetBeans 28

What happened

Problem:

On Linux, unlike other Netbeans dialog boxes where the OK button is on the right, the main Options dialog window has buttons with OK on the left. I am refering to Netbeans 26 but maybe in following version as well.

The fix has to do with this:

Package: "Options Dialog and SPI" File: OptionsDisplayerImpl.java Line: 175 Line says: boolean isMac = Utilities.isMac(); It should say: boolean useMacButtonOrder = shouldUseMacButtonOrder();

In other netbeans dialog boxes, it is correct:

Like in NbPresenter.java: ./core.windows/src/org/netbeans/core/windows/services/NbPresenter.java:647:
final boolean useMacButtonOrder = shouldUseMacButtonOrder();

Many thanks.

Language / Project Type / NetBeans Component

No response

How to reproduce

Open the Options window from the Tools menu.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux

JDK

openjdk version "17.0.16" 2025-07-15

Apache NetBeans packaging

Apache NetBeans platform

Anything else

No response

Are you willing to submit a pull request?

No

FredAncestris avatar Nov 17 '25 22:11 FredAncestris