Splash screen border
Robert Krüger
krueger at lesspain.de
Fri May 10 05:57:10 PDT 2013
has anyone done this? I haven't as I felt the comment was addressed to Mike.
On Tue, Apr 30, 2013 at 6:20 PM, Anthony Petrov
<anthony.petrov at oracle.com>wrote:
> Indeed, OpenJDK doesn't call setHasShadow:YES for the window that displays
> a splash screen.
>
> Please feel free to file an RFE at http://bugs.sun.com (or go ahead, fix
> this issue, and post your patch here for a review).
>
> --
> best regards,
> Anthony
>
>
> On 04/30/2013 07:24 PM, Mike Swingler wrote:
>
>> On Apr 30, 2013, at 8:19 AM, Stephan Aßmus <superstippi at gmx.de> wrote:
>>
>> Hi,
>>>
>>> Am 30.04.2013 um 17:03 schrieb Mike Swingler <swingler at apple.com>:
>>>
>>>> Are you talking about a stroked line border, or the shadow put on the
>>>> window by the OS?
>>>>
>>>
>>> I can confirm that the Apple Java SE 6 puts a single pixel wide border
>>> around the splash-screen with an additional drop-shadow.
>>>
>>
>> That single line is actually 50% transparent, and effectively part of the
>> shadow drawn by the OS - so, it may be worth requesting that the standard
>> OS window shadow be applied to the window.
>>
>> On Apr 29, 2013, at 4:50 AM, Anthony Petrov <anthony.petrov at oracle.com>
>>>> wrote:
>>>>
>>>>> OpenJDK has never displayed a border for splash screens on any
>>>>> platforms. This is because a splash screen image may not be rectangular,
>>>>> may be colored differently in various applications, or even be
>>>>> semi-transparent. Showing a solid rectangular border around it might not
>>>>> look good in all cases.
>>>>>
>>>>> When porting OpenJDK to the Mac platform we decided to keep this
>>>>> behavior in order to allow Java applications to look the same on all
>>>>> platforms supported by OpenJDK. If your application requires a border
>>>>> around your splash screen, then you should update the images you use to
>>>>> display the splash screen.
>>>>>
>>>>> On 04/27/13 15:58, Robert Krüger wrote:
>>>>>
>>>>>> there is a difference between JDK6 (Apple) and OpenJDK8. The splash
>>>>>> screen
>>>>>> has a border when starting with the Apple JDK and it has not for
>>>>>> OpenJDK.
>>>>>> Of course, this is really easy to work around by adding the border to
>>>>>> the
>>>>>> splash screen image. I would only like to know if this is a conscious
>>>>>> decision or an oversight (maybe even with a bug id that I can track)
>>>>>> or if
>>>>>> I should do anything differently (like setting a parameter somewhere).
>>>>>>
>>>>>
>> Regards,
>> Mike Swingler
>> Apple Inc.
>>
>>
More information about the macosx-port-dev
mailing list