Hi Sean,

This gives you the application name and version:

NbBundle.getBundle("org.netbeans.core.startup.Bundle").getString("currentVersion")

I believe it's equivalent to System.getProperty("netbeans.productversion")

Greetings,

Mathieu

On Sun, Oct 16, 2022 at 8:31 PM Sean Carrick <s...@pekinsoft.com> wrote:

> I am currently working on porting my Jigsaw application to the NetBeans
> RCP and cannot figure out how to retrieve the application name at runtime.
> There are various places where I was needing this information with my old
> API, and am needing it again with the RCP.
>
> Any information on how to retrieve that information would be greatly
> appreciated. Thank you!
>
> Sincerely,
>
> Sean Carrick
> Owner - PekinSOFT Systems
> s...@pekinsoft.com
> (309) 989-0672
>

Reply via email to