Re: Getting RCP Application Name at Runtime

2022-10-17 Thread Sean Carrick
Mathieu, Thank you for that pointer. I'll check that out. Neil, The API that I'm using is my own customized version of the old Swing AppFramework API from Java.net. Getting the application name, title, ID, and version was simply a matter of using the ResourceMap class, such as: ResourceMap rm

Re: Getting RCP Application Name at Runtime

2022-10-17 Thread Neil C Smith
On Mon, 17 Oct 2022 at 10:02, Mathieu Bastian wrote: > This gives you the application name and version: > > NbBundle.getBundle("org.netbeans.core.startup.Bundle").getString("currentVersion") > There is also NbBundle::getBranding It's unclear from the question exactly what is being looked for. W

Re: Getting RCP Application Name at Runtime

2022-10-17 Thread Mathieu Bastian
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 wrote: > I

Getting RCP Application Name at Runtime

2022-10-16 Thread Sean Carrick
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