Re: New theme for netbeans, team member wanted (JavaFX)
On 12/7/21 4:58 AM, Eric Bresie wrote: I know this is a grander, not a short term thing, and a little out of scope here but would transition the UI of Netbeans from Swing to JavaFX based with its own (css) theme paradigm be of value? There is one important difference between Swing and JavaFX that might not be immediately apparent: JavaFX, as a policy, does not use font hinting. Swing, on the other hand, uses full hinting. For comparison, Windows uses full hinting, macOS does not use font hinting, and most Linux distributions use the light (slight) hinting of FreeType. In fact, macOS even stopped using sub-pixel rendering as of version 10.14 (Mojave). So in general, Swing has font rendering like Windows, JavaFX has font rendering like macOS, and neither of them have font rendering like Linux. People generally prefer what they're used to seeing on their operating system.[1] In fact, people who encounter the "blurry" fonts of JavaFX often think it's a bug.[2][3] Real font bugs then get lost for years in the noise over the hinting debate.[4][5] Font issues like this are important enough for JetBrains to patch the Java runtime with their own opinion on the matter.[6] Font rendering is not a minor detail for an IDE like NetBeans or IntelliJ IDEA. John [1]: https://blog.codinghorror.com/font-rendering-respecting-the-pixel-grid/ [2]: https://bugs.openjdk.java.net/browse/JDK-8131923 [3]: https://bugs.openjdk.java.net/browse/JDK-8139662 [4]: https://github.com/javafxports/openjdk-jfx/issues/229 [5]: https://github.com/jgneff/openjdk-freetype [6]: https://github.com/JetBrains/JetBrainsRuntime - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New theme for netbeans, team member wanted (JavaFX)
On Fri, 31 Dec 2021 at 14:29, John Kostaras wrote: > There used to be an article of a lady from South Africa who had managed to > replace the Rich Client Platform's window system with JavaFX, but I can't > locate it anymore. Was that different to the eFX project I mentioned? I remember reading a bunch of stuff years ago, but found very little still accessible. > To replace Swing with .. (or HTML/Java UI), We would need an ASL compatible browser context to use HTML4J though, which potentially just points back to Electron or lighter weight alternatives. I'm still curious if Skija is a better option to either - it's what Fleet (which Eirik mentioned a while back) uses. Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New theme for netbeans, team member wanted (JavaFX)
There used to be an article of a lady from South Africa who had managed to replace the Rich Client Platform's window system with JavaFX, but I can't locate it anymore. To replace Swing with JavaFX (or HTML/Java UI), one needs to rewrite the Window System, Action System and the Explorer Views and Property Sheets in the new technology. Which is kinda a lot of work. I 'm in by the way. K/r, John. On Fri, 31 Dec 2021 at 10:53, Mar R wrote: > Please don't even mention Electron! It has its pros, I recognize that, but > we're talking about an IDE + Java...I can't afford a new GPU :D > Anyway switching from Swing to JavaFX would be real cool, sooner or later > projects will have to stay update with latest technologies, why have them > then? But I get it would be a giant process, so just my +1 and count me in > whenever you'll decide to do it > > Il giorno ven 10 dic 2021 alle ore 15:43 Neil C Smith < > neilcsm...@apache.org> > ha scritto: > > > On Tue, 7 Dec 2021 at 16:02, Eric Bresie wrote: > > > Unless anyone wants to work on NetBeans.FX ;-)…I figured as much but > > wanted to ask. > > > > There was once a project called eFX, that if I remember correctly was > > a JavaFX version of (parts of) the platform UI? Can't find much info > > now, but no, not an easy task. > > > > There was a whole bunch of discussion around the future of NetBeans' > > UI when we joined Apache (check the distant archive). About the time > > rumours of Swing's demise were possibly exaggerated (Java client > > roadmap v1) :-) > > > > I remember suggesting that a future UI of NetBeans might involve > > Electron, a headless JVM, LSP and HTML4J. Which it kind of has ... > > Maybe we should build a new UI on top of VSCodium. > > > > Maybe it's skija? > > > > Who knows. It's a lot of work, and I think NetBeans in its entirety > > will likely remain Swing. In fact, I'd happily lose the little bit of > > optional JavaFX dependency we do have, which punches above its weight > > in issues! > > > > Best wishes, > > > > Neil > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: dev-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > > > >
Re: New theme for netbeans, team member wanted (JavaFX)
Please don't even mention Electron! It has its pros, I recognize that, but we're talking about an IDE + Java...I can't afford a new GPU :D Anyway switching from Swing to JavaFX would be real cool, sooner or later projects will have to stay update with latest technologies, why have them then? But I get it would be a giant process, so just my +1 and count me in whenever you'll decide to do it Il giorno ven 10 dic 2021 alle ore 15:43 Neil C Smith ha scritto: > On Tue, 7 Dec 2021 at 16:02, Eric Bresie wrote: > > Unless anyone wants to work on NetBeans.FX ;-)…I figured as much but > wanted to ask. > > There was once a project called eFX, that if I remember correctly was > a JavaFX version of (parts of) the platform UI? Can't find much info > now, but no, not an easy task. > > There was a whole bunch of discussion around the future of NetBeans' > UI when we joined Apache (check the distant archive). About the time > rumours of Swing's demise were possibly exaggerated (Java client > roadmap v1) :-) > > I remember suggesting that a future UI of NetBeans might involve > Electron, a headless JVM, LSP and HTML4J. Which it kind of has ... > Maybe we should build a new UI on top of VSCodium. > > Maybe it's skija? > > Who knows. It's a lot of work, and I think NetBeans in its entirety > will likely remain Swing. In fact, I'd happily lose the little bit of > optional JavaFX dependency we do have, which punches above its weight > in issues! > > Best wishes, > > Neil > > - > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
Re: New theme for netbeans, team member wanted (JavaFX)
On Tue, 7 Dec 2021 at 16:02, Eric Bresie wrote: > Unless anyone wants to work on NetBeans.FX ;-)…I figured as much but wanted > to ask. There was once a project called eFX, that if I remember correctly was a JavaFX version of (parts of) the platform UI? Can't find much info now, but no, not an easy task. There was a whole bunch of discussion around the future of NetBeans' UI when we joined Apache (check the distant archive). About the time rumours of Swing's demise were possibly exaggerated (Java client roadmap v1) :-) I remember suggesting that a future UI of NetBeans might involve Electron, a headless JVM, LSP and HTML4J. Which it kind of has ... Maybe we should build a new UI on top of VSCodium. Maybe it's skija? Who knows. It's a lot of work, and I think NetBeans in its entirety will likely remain Swing. In fact, I'd happily lose the little bit of optional JavaFX dependency we do have, which punches above its weight in issues! Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New theme for netbeans, team member wanted (JavaFX)
Unless anyone wants to work on NetBeans.FX ;-)…I figured as much but wanted to ask. Get Outlook for iOS<https://aka.ms/o0ukef> From: Eirik Bakke Sent: Tuesday, December 7, 2021 9:57:37 AM To: dev@netbeans.apache.org Subject: RE: Re: New theme for netbeans, team member wanted (JavaFX) Better to use FlatLAF themes for this--no big re-architecting necessary. I spent a weekend theming my own NetBeans Platform app using FlatLAF, and it was a quite pleasant experience. (There's probably a million lines of Swing code in NetBeans... "transitioning" to JavaFX would be akin to deloping an entirely new IDE. Even IntelliJ is all Swing.) -- Eirik -Original Message- From: Eric Bresie Sent: Tuesday, December 7, 2021 7:58 AM To: Netbeans Developer List Subject: Re: Re: New theme for netbeans, team member wanted (JavaFX) I know this is a grander, not a short term thing, and a little out of scope here but would transition the UI of Netbeans from Swing to JavaFX based with its own (css) theme paradigm be of value? Eric Bresie ebre...@gmail.com (mailto:ebre...@gmail.com) > On December 6, 2021 at 2:00:47 AM CST, Geertjan Wielenga > (mailto:geertjan.wiele...@googlemail.com.invalid)> wrote: > Great, progress! Yes, a report to this mailing list would be great to > keep everyone informed. > > Gj > > On Mon, 6 Dec 2021 at 07:27, Eirik Bakke (mailto:eba...@ultorg.com)> wrote: > > > Sure! Are you in Hong Kong? This week I'm on US east coast time and > > could do an evening call (US time) later in the week. December 15th > > (x-apple-data-detectors://6) through January 7 (x-apple-data-detectors://7) > > I'll be on central Europe time. > > > > I can show the current workflow I've been using for vectorizing > > NetBeans icons so far, and give you an idea of the work involved. > > > > If others are interested in joining, feel free to chime in. (We can > > write a summary for the mailing list afterwards.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung > (mailto:mcheun...@hotmail.com)> > > Sent: Sunday, December 5, 2021 12:15 PM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Dear Eirik > > We have read the google sheet. Do you have time to have a zoom this > > week? So we can have a jump start 🙂 > > > > > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Thursday, November 25, 2021 1:11 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter. > > > > Fantastic! I'm happy to join a chat--it would be good to include > > anyone else on this list who is interested as well. > > > > For actual decision-making, discussions should happen on the email > > list, so that everyone can follow along. But a Zoom meeting might be > > good for a quick overview. > > > > The style guide that was used for the first 50 icons is described on > > https://issues.apache.org/jira/browse/NETBEANS-2617 . The original > > discussion around this can be found at > > https://github.com/apache/netbeans/pull/2387 . (If helpful, I could > > add some example images to the style guide and perhaps pull it out > > of the JIRA issue and into a separate Confluence page.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung > (mailto:mcheun...@hotmail.com)> > > Sent: Wednesday, November 24, 2021 9:18 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Hi Eirik > > We definitely want to help out for the icons. What style you want? > > How about I line up our designers with you for a meeting? > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Wednesday, November 24, 2021 1:50 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter! > > > > There is one big theme-related task which is pending, which is to > > create new SVG versions of various bitmap icons in the IDE, for > > modern Retina/HiDPI screens. I did the first 50 (in Adobe > > Illustrator), and picked out th
RE: Re: New theme for netbeans, team member wanted (JavaFX)
Better to use FlatLAF themes for this--no big re-architecting necessary. I spent a weekend theming my own NetBeans Platform app using FlatLAF, and it was a quite pleasant experience. (There's probably a million lines of Swing code in NetBeans... "transitioning" to JavaFX would be akin to deloping an entirely new IDE. Even IntelliJ is all Swing.) -- Eirik -Original Message- From: Eric Bresie Sent: Tuesday, December 7, 2021 7:58 AM To: Netbeans Developer List Subject: Re: Re: New theme for netbeans, team member wanted (JavaFX) I know this is a grander, not a short term thing, and a little out of scope here but would transition the UI of Netbeans from Swing to JavaFX based with its own (css) theme paradigm be of value? Eric Bresie ebre...@gmail.com (mailto:ebre...@gmail.com) > On December 6, 2021 at 2:00:47 AM CST, Geertjan Wielenga > (mailto:geertjan.wiele...@googlemail.com.invalid)> wrote: > Great, progress! Yes, a report to this mailing list would be great to > keep everyone informed. > > Gj > > On Mon, 6 Dec 2021 at 07:27, Eirik Bakke (mailto:eba...@ultorg.com)> wrote: > > > Sure! Are you in Hong Kong? This week I'm on US east coast time and > > could do an evening call (US time) later in the week. December 15th > > (x-apple-data-detectors://6) through January 7 (x-apple-data-detectors://7) > > I'll be on central Europe time. > > > > I can show the current workflow I've been using for vectorizing > > NetBeans icons so far, and give you an idea of the work involved. > > > > If others are interested in joining, feel free to chime in. (We can > > write a summary for the mailing list afterwards.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung > (mailto:mcheun...@hotmail.com)> > > Sent: Sunday, December 5, 2021 12:15 PM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Dear Eirik > > We have read the google sheet. Do you have time to have a zoom this > > week? So we can have a jump start 🙂 > > > > > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Thursday, November 25, 2021 1:11 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter. > > > > Fantastic! I'm happy to join a chat--it would be good to include > > anyone else on this list who is interested as well. > > > > For actual decision-making, discussions should happen on the email > > list, so that everyone can follow along. But a Zoom meeting might be > > good for a quick overview. > > > > The style guide that was used for the first 50 icons is described on > > https://issues.apache.org/jira/browse/NETBEANS-2617 . The original > > discussion around this can be found at > > https://github.com/apache/netbeans/pull/2387 . (If helpful, I could > > add some example images to the style guide and perhaps pull it out > > of the JIRA issue and into a separate Confluence page.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung > (mailto:mcheun...@hotmail.com)> > > Sent: Wednesday, November 24, 2021 9:18 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Hi Eirik > > We definitely want to help out for the icons. What style you want? > > How about I line up our designers with you for a meeting? > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Wednesday, November 24, 2021 1:50 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter! > > > > There is one big theme-related task which is pending, which is to > > create new SVG versions of various bitmap icons in the IDE, for > > modern Retina/HiDPI screens. I did the first 50 (in Adobe > > Illustrator), and picked out the next ones to be prioritized, as you can > > see here: > > > > > > https://issues.apache.org/jira/secure/attachment/13026411/13026411_2 > > 10604+Icons+Overview+Cropped.png > > > > https://docs.google.com/spreadsheets/d/1U_pj-I3hk9Wj_7lvHcUDsZfFfBSy > > CkSGqBuv0qt_qXw
Re: Re: New theme for netbeans, team member wanted (JavaFX)
I know this is a grander, not a short term thing, and a little out of scope here but would transition the UI of Netbeans from Swing to JavaFX based with its own (css) theme paradigm be of value? Eric Bresie ebre...@gmail.com (mailto:ebre...@gmail.com) > On December 6, 2021 at 2:00:47 AM CST, Geertjan Wielenga > (mailto:geertjan.wiele...@googlemail.com.invalid)> wrote: > Great, progress! Yes, a report to this mailing list would be great to keep > everyone informed. > > Gj > > On Mon, 6 Dec 2021 at 07:27, Eirik Bakke (mailto:eba...@ultorg.com)> wrote: > > > Sure! Are you in Hong Kong? This week I'm on US east coast time and could > > do an evening call (US time) later in the week. December 15th > > (x-apple-data-detectors://6) through > > January 7 (x-apple-data-detectors://7) I'll be on central Europe time. > > > > I can show the current workflow I've been using for vectorizing NetBeans > > icons so far, and give you an idea of the work involved. > > > > If others are interested in joining, feel free to chime in. (We can write > > a summary for the mailing list afterwards.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung mailto:mcheun...@hotmail.com)> > > Sent: Sunday, December 5, 2021 12:15 PM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Dear Eirik > > We have read the google sheet. Do you have time to have a zoom this > > week? So we can have a jump start 🙂 > > > > > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Thursday, November 25, 2021 1:11 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter. > > > > Fantastic! I'm happy to join a chat--it would be good to include anyone > > else on this list who is interested as well. > > > > For actual decision-making, discussions should happen on the email list, > > so that everyone can follow along. But a Zoom meeting might be good for a > > quick overview. > > > > The style guide that was used for the first 50 icons is described on > > https://issues.apache.org/jira/browse/NETBEANS-2617 . The original > > discussion around this can be found at > > https://github.com/apache/netbeans/pull/2387 . (If helpful, I could add > > some example images to the style guide and perhaps pull it out of the JIRA > > issue and into a separate Confluence page.) > > > > -- Eirik > > > > -Original Message- > > From: Peter Cheung mailto:mcheun...@hotmail.com)> > > Sent: Wednesday, November 24, 2021 9:18 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: Re: New theme for netbeans, team member wanted > > > > Hi Eirik > > We definitely want to help out for the icons. What style you want? How > > about I line up our designers with you for a meeting? > > Thanks > > From Peter > > > > From: Eirik Bakke mailto:eba...@ultorg.com)> > > Sent: Wednesday, November 24, 2021 1:50 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > mailto:dev@netbeans.apache.org)> > > Subject: RE: New theme for netbeans, team member wanted > > > > Hi, Peter! > > > > There is one big theme-related task which is pending, which is to create > > new SVG versions of various bitmap icons in the IDE, for modern > > Retina/HiDPI screens. I did the first 50 (in Adobe Illustrator), and picked > > out the next ones to be prioritized, as you can see here: > > > > > > https://issues.apache.org/jira/secure/attachment/13026411/13026411_210604+Icons+Overview+Cropped.png > > > > https://docs.google.com/spreadsheets/d/1U_pj-I3hk9Wj_7lvHcUDsZfFfBSyCkSGqBuv0qt_qXw/edit#gid=812179705 > > https://issues.apache.org/jira/browse/NETBEANS-2617 > > > > If you are interested in helping with the icon drawling effort, I'd be > > happy to help coordinate. > > > > As for the Look & Feel, I think NetBeans will now be switching to FlatLAF > > as the default on all 3 operating systems (Windows, Linux, MacOS). I just > > transitioned my own NetBeans Platform application to FlatLAF, and it's a > > very good basis for making NetBeans look good in the future. It's also very > > configurable, so I think alternative themes can be implemented by means of > > configuring and improving FlatLAF, rather than by creating a completely new > > Swing LAF. > > > > -- Eirik > > > > -Original Message- > > From: Christian Lenz > (mailto:christian.l...@gmx.net)> > > Sent: Tuesday, November 23, 2021 11:31 AM > > To: dev@netbeans.apache.org (mailto:dev@netbeans.apache.org) > > Subject: AW: New theme for netbeans, team member wanted > > > > Hey Peter, > > > > great to have you on board already. We are discussing to add the Flat LaF > > as a default theme to NetBeans which is already implemented, but we need to > > switch to it. > > > > What I can say