Re: Fate of jdk.packager and jdk.packager.services?

2018-08-07 Thread jo...@msli.com
The motivation for a new packager states a need for a a packager, but
not why the javapackager can't continue.

With all the work that went into javapackager, why can't it simple be
released for continued development outside Oracle, if they don't want to
maintain it.

The javapackager has worked well for a few years, so why reinvent a
packager with fewer features, rather than expand features, and clear bugs?

On 08/07/2018 05:03 AM, Lennart Börjeson wrote:
> Well, while I can surely use the packager from JDK 10 and bundle my 
> application with 11, I'd still miss out on the packager service, i.e. the 
> application would not be able to use the UserJvmOptions.
>
> It seems to me the packager service has been completely forgotten? 
> JDK-8200758 does not mention it at all.
>
> /Lennart
>
>> 7 aug. 2018 kl. 13:45 skrev Nir Lisker :
>>
>> Hi Lennart,
>>
>> You should be able to use the packager from JDK 10, see 
>> https://bugs.openjdk.java.net/browse/JDK-8203379 
>> .
>>
>> There is a draft for a replacement, see 
>> https://bugs.openjdk.java.net/browse/JDK-8200758 
>> .
>>
>> - Nir
>>
>> On Tue, Aug 7, 2018 at 12:28 PM, Lennart Börjeson > > wrote:
>> I'm migrating to JDK 11 and OpenJFX 11, and would like to continue using the 
>> packager and the associated packager service (i.e. the UserJvmOptions).
>>
>> AFAIK, those are gone from the available binary builds, but still there in 
>> the code. Is there a way to use them without resorting to build openjfx 
>> myself? If not, is there some alternative to the UserJvmOptions?
>>
>>
>> (I'm currently working around my problems by building both openjfx and the 
>> JDK, and bundling openjfx with the JDK, just like in the good old days...)
>>
>> Best regards,
>>
>> /Lennart Börjeson
>>
>>
>>



MenuBar in osx to set About, Preferences, Quit

2015-09-02 Thread jo...@msli.com
What is the method for a pure javafx app to control the osx application
menu bar (e.g. About, Preferences, Quit, etc)?

The menu bar area I am asking about can be seen in a native Mac OS
applications menu under :
 About 
 Preferences...
 Services
 Hide 
 Hide Others
 Show All
 Quit 

When I use the javapackager (aka javafxpackager ) to make a stand alone
app on osx the title of this bar becomes my app name, however how do I
control the other parts (e.g. About, Preferences, Quit, etc)?

My javafx application has a javafx MenuBar in each window (Stage) with
the property useSystemMenuBar set to true, in order to show a
more-native behavior, where the menu bar appears in the Apple menu bar
at the top of the screen for the active window, but this does not give
me control over the areas in question.

Please respond with only methods that do swing, awt, or eawt, as I have
not seen this published anywhere.


NOTICE: This email may contain confidential information.  Please see 
http://www.meyersound.com/confidential/ for our complete policy.


Re: MenuBar in osx to set About, Preferences, Quit

2015-09-02 Thread jo...@msli.com
Please respond with only methods that do NOT use swing, awt, or eawt, as
I have not seen this published anywhere.

On Wed, 2015-09-02 at 07:05 -0700, [email protected] wrote:
> What is the method for a pure javafx app to control the osx application
> menu bar (e.g. About, Preferences, Quit, etc)?
> 
> The menu bar area I am asking about can be seen in a native Mac OS
> applications menu under :
>  About 
>  Preferences...
>  Services
>  Hide 
>  Hide Others
>  Show All
>  Quit 
> 
> When I use the javapackager (aka javafxpackager ) to make a stand alone
> app on osx the title of this bar becomes my app name, however how do I
> control the other parts (e.g. About, Preferences, Quit, etc)?
> 
> My javafx application has a javafx MenuBar in each window (Stage) with
> the property useSystemMenuBar set to true, in order to show a
> more-native behavior, where the menu bar appears in the Apple menu bar
> at the top of the screen for the active window, but this does not give
> me control over the areas in question.
> 
> Please respond with only methods that do swing, awt, or eawt, as I have
> not seen this published anywhere.
> 
> 
> NOTICE: This email may contain confidential information.  Please see 
> http://www.meyersound.com/confidential/ for our complete policy.




Re: MenuBar in osx to set About, Preferences, Quit

2015-09-02 Thread jo...@msli.com
This method sends us down a hybrid-app route, which I am trying to get
away from.  

Is there no pure javafx complete solution for OSX?

On Wed, 2015-09-02 at 10:33 -0400, Tai Hu wrote:
> I used NSMenuFX, which is using eclipse swt. It works very well on Mac
> OS 
> 
> 
> Tai
> 
> On Wednesday, September 2, 2015, [email protected] 
> wrote:
> Please respond with only methods that do NOT use swing, awt,
> or eawt, as
> I have not seen this published anywhere.
> 
>     On Wed, 2015-09-02 at 07:05 -0700, [email protected] wrote:
> > What is the method for a pure javafx app to control the osx
> application
> > menu bar (e.g. About, Preferences, Quit, etc)?
> >
> > The menu bar area I am asking about can be seen in a native
> Mac OS
> > applications menu under :
> >  About 
> >  Preferences...
> >  Services
> >  Hide 
> >  Hide Others
> >  Show All
> >  Quit 
> >
> > When I use the javapackager (aka javafxpackager ) to make a
> stand alone
> > app on osx the title of this bar becomes my app name,
> however how do I
> > control the other parts (e.g. About, Preferences, Quit,
> etc)?
> >
> > My javafx application has a javafx MenuBar in each window
> (Stage) with
> > the property useSystemMenuBar set to true, in order to show
> a
> > more-native behavior, where the menu bar appears in the
> Apple menu bar
> > at the top of the screen for the active window, but this
> does not give
> > me control over the areas in question.
> >
> > Please respond with only methods that do swing, awt, or
> eawt, as I have
> > not seen this published anywhere.
> >
> >
> > NOTICE: This email may contain confidential information.
> Please see http://www.meyersound.com/confidential/ for our
> complete policy.
> 
> 



NOTICE: This email may contain confidential information.  Please see 
http://www.meyersound.com/confidential/ for our complete policy.


Re: MenuBar in osx to set About, Preferences, Quit

2015-09-02 Thread jo...@msli.com
I would love to file a bug, as this is really big hole for javafx.  

As other gui tool kits support it, so should javafx.

If I can log into to https://bugs.openjdk.java.net/ I will file a bug,
if it doesn't exist, but right now login appears broken.

On Wed, 2015-09-02 at 12:36 -0400, Tai Hu wrote:
> I am totally agreed with you on this one. Unfortunately couple weeks ago, I 
> spent days on searching solution for this issue. NSMenuFX is only one 
> actually working.
> 
> Tai
> 
> > On Sep 2, 2015, at 11:02 AM, [email protected] wrote:
> > 
> > This method sends us down a hybrid-app route, which I am trying to get
> > away from.  
> > 
> > Is there no pure javafx complete solution for OSX?
> > 
> > On Wed, 2015-09-02 at 10:33 -0400, Tai Hu wrote:
> >> I used NSMenuFX, which is using eclipse swt. It works very well on Mac
> >> OS 
> >> 
> >> 
> >> Tai
> >> 
> >> On Wednesday, September 2, 2015, [email protected] 
> >> wrote:
> >>Please respond with only methods that do NOT use swing, awt,
> >>or eawt, as
> >>I have not seen this published anywhere.
> >> 
> >>On Wed, 2015-09-02 at 07:05 -0700, [email protected] wrote:
> >>> What is the method for a pure javafx app to control the osx
> >>application
> >>> menu bar (e.g. About, Preferences, Quit, etc)?
> >>> 
> >>> The menu bar area I am asking about can be seen in a native
> >>Mac OS
> >>> applications menu under :
> >>> About 
> >>> Preferences...
> >>> Services
> >>> Hide 
> >>> Hide Others
> >>> Show All
> >>> Quit 
> >>> 
> >>> When I use the javapackager (aka javafxpackager ) to make a
> >>stand alone
> >>> app on osx the title of this bar becomes my app name,
> >>however how do I
> >>> control the other parts (e.g. About, Preferences, Quit,
> >>etc)?
> >>> 
> >>> My javafx application has a javafx MenuBar in each window
> >>(Stage) with
> >>> the property useSystemMenuBar set to true, in order to show
> >>a
> >>> more-native behavior, where the menu bar appears in the
> >>Apple menu bar
> >>> at the top of the screen for the active window, but this
> >>does not give
> >>> me control over the areas in question.
> >>> 
> >>> Please respond with only methods that do swing, awt, or
> >>eawt, as I have
> >>> not seen this published anywhere.
> >>> 
> >>> 
> >>> NOTICE: This email may contain confidential information.
> >>Please see http://www.meyersound.com/confidential/ for our
> >>complete policy.
> >> 
> >> 
> > 
> > 
> > 
> > NOTICE: This email may contain confidential information.  Please see 
> > http://www.meyersound.com/confidential/ for our complete policy.
> 




Re: MenuBar in osx to set About, Preferences, Quit

2015-09-02 Thread jo...@msli.com
First bug says "Not part of the FX 8 PRD, , consider for future release"
  In my opinion this must have been an over sight.
  Hasn't changed since 2013, so it is a dead end.

Second bug says to use NSMenuFX (e.g. hybrid-app using swt).
  I need to avoid hybrid app issues.

How do I get a javafx solution if a good bug exists but isn't being
worked on?

On Wed, 2015-09-02 at 12:09 -0700, Leif Samuelsson wrote:
> See:
> 
> https://bugs.openjdk.java.net/browse/JDK-8091517
> https://bugs.openjdk.java.net/browse/JDK-8088585
> 
> Leif
> 
> On 2015-09-02 10:10, Kevin Rushforth wrote:
> > You can file an RFE at http://bugs.java.com/
> >
> > -- Kevn
> >
> >
> > [email protected] wrote:
> >> I would love to file a bug, as this is really big hole for javafx.
> >> As other gui tool kits support it, so should javafx.
> >>
> >> If I can log into to https://bugs.openjdk.java.net/ I will file a bug,
> >> if it doesn't exist, but right now login appears broken.
> >>
> >> On Wed, 2015-09-02 at 12:36 -0400, Tai Hu wrote:
> >>> I am totally agreed with you on this one. Unfortunately couple weeks ago, 
> >>> I spent days on searching solution for this issue. NSMenuFX is only one 
> >>> actually working.
> >>>
> >>> Tai
> >>>
> >>>> On Sep 2, 2015, at 11:02 AM, [email protected] wrote:
> >>>>
> >>>> This method sends us down a hybrid-app route, which I am trying to get
> >>>> away from.
> >>>> Is there no pure javafx complete solution for OSX?
> >>>>
> >>>> On Wed, 2015-09-02 at 10:33 -0400, Tai Hu wrote:
> >>>>> I used NSMenuFX, which is using eclipse swt. It works very well on Mac
> >>>>> OS
> >>>>>
> >>>>> Tai
> >>>>>
> >>>>> On Wednesday, September 2, 2015, [email protected] 
> >>>>> wrote:
> >>>>>Please respond with only methods that do NOT use swing, awt,
> >>>>>or eawt, as
> >>>>>I have not seen this published anywhere.
> >>>>>
> >>>>>On Wed, 2015-09-02 at 07:05 -0700, [email protected] wrote:
> >>>>>> What is the method for a pure javafx app to control the osx
> >>>>>application
> >>>>>> menu bar (e.g. About, Preferences, Quit, etc)?
> >>>>>>
> >>>>>> The menu bar area I am asking about can be seen in a native
> >>>>>Mac OS
> >>>>>> applications menu under :
> >>>>>> About 
> >>>>>> Preferences...
> >>>>>> Services
> >>>>>> Hide 
> >>>>>> Hide Others
> >>>>>> Show All
> >>>>>> Quit 
> >>>>>>
> >>>>>> When I use the javapackager (aka javafxpackager ) to make a
> >>>>>stand alone
> >>>>>> app on osx the title of this bar becomes my app name,
> >>>>>however how do I
> >>>>>> control the other parts (e.g. About, Preferences, Quit,
> >>>>>etc)?
> >>>>>> My javafx application has a javafx MenuBar in each window
> >>>>>(Stage) with
> >>>>>> the property useSystemMenuBar set to true, in order to show
> >>>>>a
> >>>>>> more-native behavior, where the menu bar appears in the
> >>>>>Apple menu bar
> >>>>>> at the top of the screen for the active window, but this
> >>>>>does not give
> >>>>>> me control over the areas in question.
> >>>>>>
> >>>>>> Please respond with only methods that do swing, awt, or
> >>>>>eawt, as I have
> >>>>>> not seen this published anywhere.
> >>>>>>
> >>>>>>
> >>>>>> NOTICE: This email may contain confidential information.
> >>>>>Please see http://www.meyersound.com/confidential/ for our
> >>>>>complete policy.
> >>>>>
> >>>>>
> >>>>
> >>>> NOTICE: This email may contain confidential information.  Please see 
> >>>> http://www.meyersound.com/confidential/ for our complete policy.
> >>
> >>




Re: MenuBar in osx to set About, Preferences, Quit

2015-09-03 Thread jo...@msli.com
Is there no javafx method to hook the Quit application menu item to call
my method?  This is the really dangerous one.

Is there no javafx method to just hide the entire application menu on
OSX?  

Some of com.apple.eawt  (Apple Java Extentions Api) must have been
implemented in Javafx? No?

I need some ideas for my pure javafx app.


On Wed, 2015-09-02 at 12:20 -0700, [email protected] wrote:
> First bug says "Not part of the FX 8 PRD, , consider for future release"
>   In my opinion this must have been an over sight.
>   Hasn't changed since 2013, so it is a dead end.
> 
> Second bug says to use NSMenuFX (e.g. hybrid-app using swt).
>   I need to avoid hybrid app issues.
> 
> How do I get a javafx solution if a good bug exists but isn't being
> worked on?
> 
> On Wed, 2015-09-02 at 12:09 -0700, Leif Samuelsson wrote:
> > See:
> > 
> > https://bugs.openjdk.java.net/browse/JDK-8091517
> > https://bugs.openjdk.java.net/browse/JDK-8088585
> > 
> > Leif
> > 
> > On 2015-09-02 10:10, Kevin Rushforth wrote:
> > > You can file an RFE at http://bugs.java.com/
> > >
> > > -- Kevn
> > >
> > >
> > > [email protected] wrote:
> > >> I would love to file a bug, as this is really big hole for javafx.
> > >> As other gui tool kits support it, so should javafx.
> > >>
> > >> If I can log into to https://bugs.openjdk.java.net/ I will file a bug,
> > >> if it doesn't exist, but right now login appears broken.
> > >>
> > >> On Wed, 2015-09-02 at 12:36 -0400, Tai Hu wrote:
> > >>> I am totally agreed with you on this one. Unfortunately couple weeks 
> > >>> ago, I spent days on searching solution for this issue. NSMenuFX is 
> > >>> only one actually working.
> > >>>
> > >>> Tai
> > >>>
> > >>>> On Sep 2, 2015, at 11:02 AM, [email protected] wrote:
> > >>>>
> > >>>> This method sends us down a hybrid-app route, which I am trying to get
> > >>>> away from.
> > >>>> Is there no pure javafx complete solution for OSX?
> > >>>>
> > >>>> On Wed, 2015-09-02 at 10:33 -0400, Tai Hu wrote:
> > >>>>> I used NSMenuFX, which is using eclipse swt. It works very well on Mac
> > >>>>> OS
> > >>>>>
> > >>>>> Tai
> > >>>>>
> > >>>>> On Wednesday, September 2, 2015, [email protected] 
> > >>>>> wrote:
> > >>>>>Please respond with only methods that do NOT use swing, awt,
> > >>>>>or eawt, as
> > >>>>>I have not seen this published anywhere.
> > >>>>>
> > >>>>>On Wed, 2015-09-02 at 07:05 -0700, [email protected] wrote:
> > >>>>>> What is the method for a pure javafx app to control the osx
> > >>>>>application
> > >>>>>> menu bar (e.g. About, Preferences, Quit, etc)?
> > >>>>>>
> > >>>>>> The menu bar area I am asking about can be seen in a native
> > >>>>>Mac OS
> > >>>>>> applications menu under :
> > >>>>>> About 
> > >>>>>> Preferences...
> > >>>>>> Services
> > >>>>>> Hide 
> > >>>>>> Hide Others
> > >>>>>> Show All
> > >>>>>> Quit 
> > >>>>>>
> > >>>>>> When I use the javapackager (aka javafxpackager ) to make a
> > >>>>>stand alone
> > >>>>>> app on osx the title of this bar becomes my app name,
> > >>>>>however how do I
> > >>>>>> control the other parts (e.g. About, Preferences, Quit,
> > >>>>>etc)?
> > >>>>>> My javafx application has a javafx MenuBar in each window
> > >>>>>(Stage) with
> > >>>>>> the property useSystemMenuBar set to true, in order to show
> > >>>>>a
> > >>>>>> more-native behavior, where the menu bar appears in the
> > >>>>>Apple menu bar
> > >>>>>> at the top of the screen for the active window, but this
> > >>>>>does not give
> > >>>>>> me control over the areas in question.
> > >>>>>>
> > >>>>>> Please respond with only methods that do swing, awt, or
> > >>>>>eawt, as I have
> > >>>>>> not seen this published anywhere.
> > >>>>>>
> > >>>>>>
> > >>>>>> NOTICE: This email may contain confidential information.
> > >>>>>Please see http://www.meyersound.com/confidential/ for our
> > >>>>>complete policy.
> > >>>>>
> > >>>>>
> > >>>>
> > >>>> NOTICE: This email may contain confidential information.  Please see 
> > >>>> http://www.meyersound.com/confidential/ for our complete policy.
> > >>
> > >>
> 
>