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