News for hackers. Stuff that matters.
Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @12:31AM (#24915244)
Swing is definitely not "less native" than Electron. The entire window is a web view in Electron apps. I believe Java Swing was even an officially supported UI toolkit on the Mac a long time ago.
Re:Sketch: Proud to Build a Truly Native Mac App by saagarjha on Wednesday October 28, 2020 @04:49AM (#24916643)
Not in the way Cocoa is, but it had a PLAF coming from Apple at the time.
Re:Sketch: Proud to Build a Truly Native Mac App by nl on Wednesday October 28, 2020 @04:53AM (#24916674)
The menus in Swing aren't native but are in Electron.
Re:Sketch: Proud to Build a Truly Native Mac App by Liquid_Fire on Wednesday October 28, 2020 @06:45AM (#24917286)
Maybe Electron supports native menus, but VS Code certainly doesn't use them, at least on Windows and Linux.

Simple experimental proof: resize the window to be very small, and open a menu. The menu can't go outside the bounds of the window.

Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @07:31PM (#24925370)
What menus?