From hs at tagtraum.com Fri Aug 1 08:18:15 2014 From: hs at tagtraum.com (Hendrik Schreiber) Date: Fri, 1 Aug 2014 10:18:15 +0200 Subject: Application name in About, Hide, and Quit menu items Message-ID: <55EEE327-0590-48EF-96E8-2697B2443395@tagtraum.com> Hi, I'm bundling my app using the InfiniteKind AppBundler, which works great. There is just a little discrepancy, I'm wondering about how to get rid off. The application menu (right next to the Apple menu) is named the way I want it - not sure whether this is the app bundle's name or the CFBundleName from the Info.plist. Both are the same and that's fine. However, in the application menu there are the items "About ", "Hide ", and "Quit ". All of them are not set to the bundle name, but to the main classname. So the application menu looks like this: [BundleName] [About Classname] [Hide Classname] ... [Quit Classname] In my case BundleName and Classname are not identical. I'm under the impression that the classname is set by the JVM, as only the fully qualified classname is passed into jli_LaunchFxnPtr. The bundle name on the other hand, seems to be set some other way. Is there a way to make sure that the About, Hide, and Quit menu items are also set to the bundle name, without having to change the classname? Or in other words: wouldn't it make sense, to always make sure that the appname used in About, Hide, and Quit matches the name of the Application menu, i.e. the bundle name? Cheers, -hendrik From Sergey.Bylokhov at oracle.com Fri Aug 1 12:08:51 2014 From: Sergey.Bylokhov at oracle.com (Sergey Bylokhov) Date: Fri, 01 Aug 2014 16:08:51 +0400 Subject: FW: A small Aqua Swing bug report--how/where to file? In-Reply-To: References: Message-ID: <53DB8353.2070903@oracle.com> Hello, Erik. What version of jdk did you use? Can you check it on the latest version of jdk 8u20? https://jdk8.java.net/download.html Thanks. On 7/11/14 7:12 PM, Eirik Bakke wrote: > (Resending without image attachment--I don't think my first message got > through.) > > I have a small bug to file against the Aqua L&F in OpenJDK. What's the > place/procedure for filing such bugs? (It seems that > https://bugs.openjdk.java.net/browse/JDK does not permit the general > public to create new bugs, and I'm not sure if it's the place for > Aqua-related bugs either.) > > The bug is a variation of bug #5046173 mentioned in [1], "JTextFields had > clipped focus rings". The aforementioned bug was partially resolved, but > is still present in cases where the JTextField has the > "JTextField.variant" client property set to "search". A minimal example is > provided in [2]; when run on MacOS and the text field is in focus, text > field is clipped by one or two pixels on all four sides (though you have > to look closely to see it). > > -- Eirik > > [1] > http://www.filibeto.org/unix/macos/lib/dev/releasenotes/Java/JavaLeopardRN/ > JavaLeopardRN.pdf > [2] https://gist.github.com/anonymous/662976ce8f6a942a3b9b > -- Best regards, Sergey. From philip.race at oracle.com Fri Aug 1 13:24:57 2014 From: philip.race at oracle.com (Phil Race) Date: Fri, 01 Aug 2014 06:24:57 -0700 Subject: FW: A small Aqua Swing bug report--how/where to file? In-Reply-To: <53DB8353.2070903@oracle.com> References: <53DB8353.2070903@oracle.com> Message-ID: <53DB9529.9000209@oracle.com> .. and bugs can be filed here :- http://bugreport.java.com/bugreport/ -phil. On 8/1/14 5:08 AM, Sergey Bylokhov wrote: > Hello, Erik. > What version of jdk did you use? Can you check it on the latest > version of jdk 8u20? > https://jdk8.java.net/download.html > Thanks. > > On 7/11/14 7:12 PM, Eirik Bakke wrote: >> (Resending without image attachment--I don't think my first message got >> through.) >> >> I have a small bug to file against the Aqua L&F in OpenJDK. What's the >> place/procedure for filing such bugs? (It seems that >> https://bugs.openjdk.java.net/browse/JDK does not permit the general >> public to create new bugs, and I'm not sure if it's the place for >> Aqua-related bugs either.) >> >> The bug is a variation of bug #5046173 mentioned in [1], "JTextFields >> had >> clipped focus rings". The aforementioned bug was partially resolved, but >> is still present in cases where the JTextField has the >> "JTextField.variant" client property set to "search". A minimal >> example is >> provided in [2]; when run on MacOS and the text field is in focus, text >> field is clipped by one or two pixels on all four sides (though you have >> to look closely to see it). >> >> -- Eirik >> >> [1] >> http://www.filibeto.org/unix/macos/lib/dev/releasenotes/Java/JavaLeopardRN/ >> >> JavaLeopardRN.pdf >> [2] https://gist.github.com/anonymous/662976ce8f6a942a3b9b >> > > From ebakke at MIT.EDU Fri Aug 1 14:57:04 2014 From: ebakke at MIT.EDU (Eirik Bakke) Date: Fri, 1 Aug 2014 14:57:04 +0000 Subject: A small Aqua Swing bug report--how/where to file? Message-ID: I saw the bug in 1.8.0_20-ea-b05, but now tried the latest version 1.8.0_20-ea-b23 from the site you linked, and the bug is gone! (I compared it side-by-side with the screenshot I took on the previous version.) Great--thanks! -- Eirik On 8/1/14, 8:08 AM, "Sergey Bylokhov" wrote: >Hello, Erik. >What version of jdk did you use? Can you check it on the latest version >of jdk 8u20? >https://jdk8.java.net/download.html >Thanks. > >On 7/11/14 7:12 PM, Eirik Bakke wrote: >> (Resending without image attachment--I don't think my first message got >> through.) >> >> I have a small bug to file against the Aqua L&F in OpenJDK. What's the >> place/procedure for filing such bugs? (It seems that >> https://bugs.openjdk.java.net/browse/JDK does not permit the general >> public to create new bugs, and I'm not sure if it's the place for >> Aqua-related bugs either.) >> >> The bug is a variation of bug #5046173 mentioned in [1], "JTextFields >>had >> clipped focus rings". The aforementioned bug was partially resolved, but >> is still present in cases where the JTextField has the >> "JTextField.variant" client property set to "search". A minimal example >>is >> provided in [2]; when run on MacOS and the text field is in focus, text >> field is clipped by one or two pixels on all four sides (though you have >> to look closely to see it). >> >> -- Eirik >> >> [1] >> >>http://www.filibeto.org/unix/macos/lib/dev/releasenotes/Java/JavaLeopardR >>N/ >> JavaLeopardRN.pdf >> [2] https://gist.github.com/anonymous/662976ce8f6a942a3b9b >> > > >-- >Best regards, Sergey. > From sreilly at seanreilly.com Fri Aug 1 16:29:15 2014 From: sreilly at seanreilly.com (Sean Reilly) Date: Fri, 1 Aug 2014 12:29:15 -0400 Subject: Application name in About, Hide, and Quit menu items Message-ID: <072D6774-10B3-427E-BCCF-6B6581C92A1D@seanreilly.com> Hi Hendrik, In my app bundle ant file I?ve set a few options with the tag including these: