Re: NetBeans 12 and 4K monitor

2020-09-06 Thread Darin Miller
Klerman,

Have you attempted starting netbeans with --fontsize 20  (i.e.
/opt/netbeans/bin/netbeans --fontsize 20)?

 o__
  >/
( )\( ) Darin | 208-283-1574


On Sun, Sep 6, 2020 at 11:38 PM Klerman  wrote:

> Hello,
> I recently changed to this Dell XPS 13 which has a high resolution monitor
> and Ubuntu 20.04.
> My settings are 3840X2160, 300%.
> I installed NetBeans 12.0 and to my surprise, it's practically unusable in
> this machine, as it's unable to adapt itself to these scales and the
> resolutions.
> I Googled for a solution, and the two I found all recommend to edit the
> netbeans.conf file.
> Using the locate command, I found two of these files in this system:
> /home/me/.local/share/Trash/files/netbeans.conf
> and
> /snap/netbeans/30/netbeans/etc/netbeans.conf
> The file in the snap folder is readonly, and I can't find the way to make
> it writable. The chmod command leaves it untouched.
> The file in the home folder seems not to have any effect on NetBeans.
> Could anyone please point me to the solution of this problem ?.
> Many thanks in advance,
> Klerman.
>
>
>
> --
>
> Klerman Gutierrez.
> Cel. / Mov.: +58 414 5320193
> http://www.flickr.com/photos/rimlit
> www.facebook.com/klerman
>


NetBeans 12 and 4K monitor

2020-09-06 Thread Klerman
Hello,
I recently changed to this Dell XPS 13 which has a high resolution monitor
and Ubuntu 20.04.
My settings are 3840X2160, 300%.
I installed NetBeans 12.0 and to my surprise, it's practically unusable in
this machine, as it's unable to adapt itself to these scales and the
resolutions.
I Googled for a solution, and the two I found all recommend to edit the
netbeans.conf file.
Using the locate command, I found two of these files in this system:
/home/me/.local/share/Trash/files/netbeans.conf
and
/snap/netbeans/30/netbeans/etc/netbeans.conf
The file in the snap folder is readonly, and I can't find the way to make
it writable. The chmod command leaves it untouched.
The file in the home folder seems not to have any effect on NetBeans.
Could anyone please point me to the solution of this problem ?.
Many thanks in advance,
Klerman.



-- 

Klerman Gutierrez.
Cel. / Mov.: +58 414 5320193
http://www.flickr.com/photos/rimlit
www.facebook.com/klerman


Re: Maven deployment plugin for JavaFX

2020-09-06 Thread Ernie Rael

On 9/6/2020 4:53 AM, HRH wrote:

**
Is jlink of any use here? The projects created with "NewProject >
SimpleJavaFX > ..." have a jlink action
**
Hi Ernie,

I noticed the "NewProject> FXML JavaFX...>", also have jlink action 
defined in the nbactions.xml as follow:


The items found in nbactions.xml are not generally used as part of the 
build. They are associated with IDE action, like the run/debug buttons; 
or speicific actions not part of the maven phases. Tye 
ProjectWin>ProjNode>RunMaven And you can also take a look at 
ProjectWin>ProjNode>Properties>Actions; the stuff in bold under actions 
is usually from the nbactions.xml.


Anyway, for jlink

1. edit pom.xml and add the property, using your main class name
   org.mystuff.App
2. ProjWin>MyProj>RunMaven>jlink
3. cd /target/image/bin
4. ./java org.mystuff.App

This should run your app. You can take a look at the docs for the 
javafx-maven-plugin for more info.


-ernie




CUSTOM-jlink
    jlink
    
    clean
    

    compile
    javafx:jlink
    
 


In addition, it has jar packaging clause:



    run
    
jar
    
    
    clean
    javafx:run
    
    

However, I am not sure, if these goals and actions are actually being 
processed during the build since I don't see any jar file under 
target/classes tree structure. Any idea?


Thanks




On Friday, September 4, 2020, 8:08:24 PM GMT+4:30, HRH 
 wrote:



Thanks, Ernie, I recall someone on Stackoverflow had mentioned it 
while back. I will look into it.


On Friday, September 4, 2020, 7:45:30 PM GMT+4:30, Ernie Rael 
 wrote:



On 9/3/2020 11:04 AM, HRH wrote:
> Hi,
>
> Does anyone know, if Maven has a plugin deployment for JavaFX
> application that will render a self-contained installable package

Is jlink of any use here? The projects created with "NewProject >
SimpleJavaFX > ..." have a jlink action.

-ernie


> for a given (or all) platform(s) (i.e. Windows - 64 bit, Linux or Mac
> OS)? I rather use a plugin and have the IDE do most of the work than
> using the Java Jpackage tool and do all the work myself.
>
> Thanks




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 

For additional commands, e-mail: users-h...@netbeans.apache.org 



For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Maven deployment plugin for JavaFX

2020-09-06 Thread HRH
 **  Is jlink of any use here? The projects created with "NewProject > 
SimpleJavaFX > ..." have a jlink action**Hi Ernie,
I noticed the "NewProject> FXML JavaFX...>", also have jlink action defined in 
the nbactions.xml as follow:

    CUSTOM-jlink
    jlink
    
    clean
    
    compile
    javafx:jlink
    
 

In addition, it has jar packaging clause:


    run
    
    jar
    
    
    clean
    javafx:run
    
    
However, I am not sure, if these goals and actions are actually being processed 
during the build since I don't see any jar file under target/classes tree 
structure. Any idea?
Thanks




On Friday, September 4, 2020, 8:08:24 PM GMT+4:30, HRH 
 wrote:  
 
  Thanks, Ernie, I recall someone on Stackoverflow had mentioned it while back. 
I will look into it.

On Friday, September 4, 2020, 7:45:30 PM GMT+4:30, Ernie Rael 
 wrote:  
 
 On 9/3/2020 11:04 AM, HRH wrote:
> Hi,
>
> Does anyone know, if Maven has a plugin deployment for JavaFX 
> application that will render a self-contained installable package

Is jlink of any use here? The projects created with "NewProject > 
SimpleJavaFX > ..." have a jlink action.

-ernie

> for a given (or all) platform(s) (i.e. Windows - 64 bit, Linux or Mac 
> OS)? I rather use a plugin and have the IDE do most of the work than 
> using the Java Jpackage tool and do all the work myself.
>
> Thanks



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists