RE: Font scaling on High Res displays

2020-06-25 Thread Rob Walker
Was going to ask the same Qs. Since moving to most recent NB 11.x and an up to date OpenJDK (8 or 13/14), high DPI usage seems to work fine without me doing any special tweaks that I can remember. In fact I flip-flop between 2 laptops, one with high DPI and one without, and I don't really make a

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
On Mac, go to NetBeans | Preferences, on Windows to Tools | Options. All this that you’re doing with Gradle is completely unnecessary since what you’re doing is learning JavaFX, for which there are two Maven archetypes that run out of the box without you needing to tweak anything. Gj On Fri, 26

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
That's the problem. Tools->Options->anything doesn't seem to have a 'Preferences', or I've missed it. Run->Set Project Configuration->Customize is similarly bereft of 'Preferences'. I've looked at some of the other menu items and, well, I just can't seem to find the fool thing. There is a Too

Fwd: Re: Font scaling on High Res displays

2020-06-25 Thread Laszlo Kishalmi
Forwarded Message Subject:Re: Font scaling on High Res displays Date: Thu, 25 Jun 2020 22:59:56 -0700 From: Vlad Palnik To: Laszlo Kishalmi Had the same issue, add: -J-Dsun.java2d.uiScale=2.5 right before -J-Dsun.java2d.dpiaware=true in ${NETBEANS_HOME}/e

Re: Font scaling on High Res displays

2020-06-25 Thread Laszlo Kishalmi
What is the NetBeans version you are using and what is the runtime JDK for it? On 6/25/20 9:47 PM, Jeff wrote: I got a new Dell Precision 5540 laptop through work that is running a native resolution of 3840 x 2160 on a 15" screen.  Windows defaults to 250% scaling to make text and icons readab

Font scaling on High Res displays

2020-06-25 Thread Jeff
I got a new Dell Precision 5540 laptop through work that is running a native resolution of 3840 x 2160 on a 15" screen. Windows defaults to 250% scaling to make text and icons readable at this resolution. However, Netbeans project/source views don't seem to detect/honor the scaling settings and i

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
I know this is going to sound tacky,, but I have an IDE. Two of them in fact. Why would I try to do all this work by hand? Sigh. I'm getting their but gradle says that JAVA_HOME is not set correctly. I just can't stand the fun. Where is "preferences"? I've looked all over the blasted IDE, and

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Scott Palmer
Set the path to Gradle in the NetBeans preferences/options. If you are using the Gradle wrapper then Gradle will use the version specified by the project which it will download and cache in the .gradle folder of your home directory. Have you tried building the project from the command line?

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
Win 7-64 & cygwin Tried it on NB 12. Failed. The build message says "Could not run build action using .gradle/.../gradle-6.3". I have JavaFX installed @ /Program File/JavaFX /javafx-sdk-14.0.1  (openJFX) I have java installed @ /Program File/Java/jdk-14.0.1     (oracle) I have

Gui Builder *form files not displayed in Explorers

2020-06-25 Thread Bilu
Hello, Is there a reason why *form files are not displayed in NB Explorers? I can understand those are not in the Project Tab as those are editable with the GUI Builder but users should be able to work with them in the Files or Favorites explorers. In my case, for example i got some broken bundle

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Scott Palmer
> On Thu, Jun 25, 2020 at 5:27 PM slipbits > wrote: > Under Java with Maven I see "FXML JavaFX Maven Archetype (Gluon)" and "Simple > JavaFX Maven Archteype (Gluon)". I suspect one of these should be chosen. The > book I'm reading, JavaFX 8 by Example, recommends J

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
You're going to need to write to the mailing list, please. Not to me. Indeed, use exactly one of those two samples. You're learning about JavaFX, it doesn't matter what build system you use. Gj On Thu, Jun 25, 2020 at 5:27 PM slipbits wrote: > Under Java with Maven I see "FXML JavaFX Maven Arc

Re: Netbeans, JSF and Entity classes from database

2020-06-25 Thread Charles Johnson
On 25/06/2020 12:21, Josh Juneau wrote: With respect to your questions pertaining to the Java Persistence API (JPA), you many want to try the Jeddict plugin and see if that helps. Thanks Josh. Shall take a look at that C -

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
You will find the two OpenJFX Gluon Maven archetypes around midway down the list in “Java with Maven”. They can be run and debugged out of the box and there is nothing you need to install for this. Gj On Thu, 25 Jun 2020 at 17:12, Geertjan Wielenga wrote: > > It is also available under “Java wi

Re: IDE look and feel

2020-06-25 Thread Laszlo Kishalmi
Norway Today is only an Editor Color Scheme which goes well with Dark Metal and Dark Nimbus Look and Feel (actually that is the default Editor color scheme for those Look and Feels) And yes as Geertjan said it is on the Tools > Options > Appearance > Look and Feel tab. Happy NetBeansing! On 6/

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
It is also available under “Java with Maven”. Gj On Thu, 25 Jun 2020 at 17:11, slipbits wrote: > Can't do it (different idea then "won't do it"). JavaFX seems to be > exclusively available under Ant. In order to create a new JavaFX project I > must do: Files->New Project->Java with Ant->JavaFX

Re: Netbeans, JSF and Entity classes from database

2020-06-25 Thread Josh Juneau
Hi Charles, Thanks for utilizing the JSF features of Apache NetBeans. With respect to your questions pertaining to the Java Persistence API (JPA), you many want to try the Jeddict plugin and see if that helps. This plugin was generated to allow visual creation of entity classes and entity class

Re: How to use the new FlatLaf look & feel in a Netbeans application ?

2020-06-25 Thread Jerome Lelasseux
Understood, thanks for the links! Le jeudi 25 juin 2020 à 10:08:55 UTC+2, Neil C Smith a écrit : On Thu, 25 Jun 2020 at 00:40, Laszlo Kishalmi wrote: > NbPreferences.root().node( "laf" ).put( "laf", > "com.formdev.flatlaf.FlatDarkLaf" ); Somewhere really early, probably at an > @On

Re: IDE look and feel

2020-06-25 Thread HRH
Thanks. On Thursday, June 25, 2020, 11:09:51 AM GMT+4:30, Geertjan Wielenga wrote: Yes, that applies only to the source editor. To change the appearance of the IDE as a whole, switch the look and feel in the Appearance tab. Gj On Thu, 25 Jun 2020 at 08:37, HRH wrote: Hi, I am using

Re: How to use the new FlatLaf look & feel in a Netbeans application ?

2020-06-25 Thread Neil C Smith
On Thu, 25 Jun 2020 at 00:40, Laszlo Kishalmi wrote: > NbPreferences.root().node( "laf" ).put( "laf", > "com.formdev.flatlaf.FlatDarkLaf" ); Somewhere really early, probably at an > @OnStart marked runnable. This probably needs to be done in ModuleInstall::validate - @OnStart is too late to wor

Re: How to use the new FlatLaf look & feel in a Netbeans application ?

2020-06-25 Thread Jerome Lelasseux
Thanks, it works. Le jeudi 25 juin 2020 à 01:40:03 UTC+2, Laszlo Kishalmi a écrit : Right now Flatlaf is part of the platform, so it is available for the platform based applications as well. If you would like to use it as default probably the best would be to add the call of: