RE: [RCP] Setting Window Dimensions and LAF

2022-04-17 Thread Eirik Bakke
Muhammad F ; users@netbeans.apache.org Subject: Re: [RCP] Setting Window Dimensions and LAF On Fri, 8 Apr 2022 at 19:28, Amith, Muhammad F wrote: > 2. How do I set the look and feel of the RCP to one of the new Flat LAF? I'd suggest doing what the IDE itself does, which uses branding

Re: [RCP] Setting Window Dimensions and LAF

2022-04-11 Thread Neil C Smith
On Fri, 8 Apr 2022 at 19:28, Amith, Muhammad F wrote: > 2. How do I set the look and feel of the RCP to one of the new Flat LAF? I'd suggest doing what the IDE itself does, which uses branding but not the laf property. It's much simpler. See the PR that added this to the IDE, and my own use of

RE: [RCP] Setting Window Dimensions and LAF

2022-04-10 Thread Giovanni Dal Maso
ml". HTH From: Eirik Bakke Sent: sabato 9 aprile 2022 02:19 To: Amith, Muhammad F ; users@netbeans.apache.org Subject: RE: [RCP] Setting Window Dimensions and LAF 1) From a module installer class, something like this: @Override public void restored() { WindowManager.getDefault().

RE: [RCP] Setting Window Dimensions and LAF

2022-04-09 Thread marc.bendana
quot;, lafClassName); // Restart the application in order to apply the change LifecycleManager.getDefault().markForRestart(); LifecycleManager.getDefault().exit(); Marc De : Eirik Bakke Envoyé : samedi 9 avril 2022 02:19 À : Amith, Muhammad F ; users@netbeans.apache.org Objet : RE: [RCP]

RE: [RCP] Setting Window Dimensions and LAF

2022-04-08 Thread Eirik Bakke
find a better way. -- Eirik From: Amith, Muhammad F Sent: Friday, April 8, 2022 8:28 PM To: users@netbeans.apache.org Subject: [RCP] Setting Window Dimensions and LAF Hi, I am working on a RCP-based Netbeans project (v13, Maven-based build). I am trying to find how to do the following: 1. Ho

[RCP] Setting Window Dimensions and LAF

2022-04-08 Thread Amith, Muhammad F
Hi, I am working on a RCP-based Netbeans project (v13, Maven-based build). I am trying to find how to do the following: 1. How do I set up the initial windows dimension of the RCP app? 2. How do I set the look and feel of the RCP to one of the new Flat LAF?