> Currently Windows system Laf in the latest JDKs 9+ (13 included) is still 
> totally lacking that support: the fonts and widgets (checkboxes and radios 
> mainly) are very ugly, FlatLaf instead of very slick!

After https://github.com/apache/netbeans/pull/1777 , most of these issues 
should be fixed--that's coming in the next release. There are a few situations 
where checkboxes may end up blurry--names in multi-monitor setups where the 
HiDPI monitor is not the main monitor. If 
https://bugs.openjdk.java.net/browse/JDK-8211715 isn't fixed soon I might end 
up implementing a better workaround for those situations.

> Other than that I would vote for having FlatLaf as the default Laf in every 
> system for consistency

Consistency for who--the developers of NetBeans, or users of NetBeans? A 
typical user is using either MacOS or Windows, but not both. I'd argue the goal 
should be to be consistent between different apps on the same platform, not 
between different platforms supported by the IDE.

> (IntelliJ is doing the same with their Laf for example).

When it comes to branding-related design decisions, such as the visual look of 
NetBeans, I would argue that doing things differently from competitors is a 
_good_ thing. A native-looking LAF is part of NetBeans' distinguishing features.

-- Eirik


-----Original Message-----
From: Matteo Di Giovinazzo <[email protected]> 
Sent: Wednesday, January 22, 2020 6:02 PM
To: [email protected]
Subject: Re: Flat Look and Feel NB12 default?

To me the main reason for using FlatLaf as the default Laf is to a way better 
support for HiDPI monitors. Currently Windows system Laf in the latest JDKs 9+ 
(13 included) is still totally lacking that support: the fonts and widgets 
(checkboxes and radios mainly) are very ugly, FlatLaf instead of very slick!
We are following very closely the NetBeans development on that regard, because 
we are going to use FlatLaf as default Laf as well in our NB platform 
application.

Issues we found using FlatLaf:
- the two FileChoosers, one to open projects and the other to open files use 
different icons: the first uses Windows system icons whereas the latter uses 
FlatLaf flat icons
- I would turn off the Tree.wideSelection flag in FlatLaf because in the 
Project view for example, clicking on the tree node label gives you the 
node-contextual popup menu whereas clicking on the same row but not on the 
label gives you the general Project View popup menu. Better having not a wide 
selection, otherwise that can be misleading

Other than that I would vote for having FlatLaf as the default Laf in every 
system for consistency (IntelliJ is doing the same with their Laf for example).


On Wed, 22 Jan 2020 at 15:09, Eirik Bakke <[email protected]> wrote:

> I think FlatLAF could very well be made the default on Linux. But on 
> Windows and MacOS, I'd argue we should use the OS-specific LAFs by default.
>
> On MacOS and Windows, we have very good existing LAFs that follow the 
> same style as other desktop applications on the same platform. So 
> NetBeans will look like a native MacOS app on Mac, and like a native 
> Windows app on Windows. In fact, both the MacOS (Aqua) and Windows 
> LAFs make calls to the OS to retrieve real, native graphics for 
> buttons, combo boxes, checkboxes, and so on. So NetBeans always gets 
> the correct look for whichever OS version is currently running. There 
> has also been a lot of improvements to the Windows and MacOS LAFs over 
> the past few releases, and the next one, especially for HiDPI 
> displays. (See 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%2
> 9+improvements
> )
>
> The fact that NetBeans looks like a native app on both Windows and 
> MacOS is a strong brand differentiator, compared to for instance 
> IntelliJ, which does not in any way try to stay consistent with the OS look.
>
> -- Eirik
>
> -----Original Message-----
> From: John Mc <[email protected]>
> Sent: Wednesday, January 22, 2020 1:48 PM
> To: [email protected]
> Subject: Flat Look and Feel NB12 default?
>
> Hi
>
> So I started using the latest development builds and I really like the 
> progress with the Flat Look and Feel addition for NB11.3.  Great job 
> to the guys who have done all this work it really looks nice.
>
> Are there plans to consider making this the default LnF for NetBeans 
> 12 onwards?
>
> Regards
>
> John
>


--
Matteo Di Giovinazzo

Reply via email to