Re: Headless glass platform

2024-04-11 Thread Craig Raw
Thanks Johan. I have tested this change with a jpackaged application, and the issue no longer appears. Platform.exit() now exits the application properly. Craig On Wed, Apr 10, 2024 at 1:45 PM Johan Vos wrote: > Hi Craig, > > Thanks for testing and for the feedback. Based on that feedback, I p

Re: Headless glass platform

2024-04-10 Thread Johan Vos
Hi Craig, Thanks for testing and for the feedback. Based on that feedback, I pushed a change so that the HeadlessApplication now responds properly to a `Platform.exit()` call (see https://github.com/openjdk/jfx-sandbox/commit/5c8bcb2ca1f7a72f34c3e53e209b818abf8f8504 ). My implementation does a gen

Re: Headless glass platform

2024-04-09 Thread Craig Raw
Hi Johan, As you advised in another thread, I've tested the headless glass platform and find it to be an excellent solution. My particular use case is to provide an alternative terminal interface (using Lanterna) for a JavaFX application without needing to rewrite a great deal of the logic. For th

Re: [External] : Re: Headless glass platform

2024-01-31 Thread Andy Goryachev
bject: [External] : Re: Headless glass platform On Tue, Jan 30, 2024 at 5:14 PM Andy Goryachev mailto:andy.goryac...@oracle.com>> wrote: Excellent development, Johan, thank you! I’ve asked a few questions in the ticket https://bugs.openjdk.org/browse/JDK-8324941 I suppose I should also

Re: Headless glass platform

2024-01-31 Thread Johan Vos
On Tue, Jan 30, 2024 at 5:14 PM Andy Goryachev wrote: > Excellent development, Johan, thank you! > > > > I’ve asked a few questions in the ticket > https://bugs.openjdk.org/browse/JDK-8324941 > > > > I suppose I should also do it here: > > > > - How do you get information on a (virtual) screen? >

Re: Headless glass platform

2024-01-31 Thread Johan Vos
Hi Sean, On Tue, Jan 30, 2024 at 5:09 PM Sean M Phillips wrote: > This is very cool Johan. I have some questions if you have time to answer: > > Do you believe your headless platform POC would allow the use of the > snapshot method for exporting visuals of a scene to a png? > Yes, that is one

Re: Headless glass platform

2024-01-30 Thread Kevin Rushforth
Yeah, this is a better place for discussion than JBS. JavaFX has long lacked a real headless test platform, so it will be cool to see where this goes.  - Is there a JEP/tutorial for the new mode? It's probably premature, given the early prototype nature... -- Kevin On 1/30/2024 8:14 AM,

Re: Headless glass platform

2024-01-30 Thread Andy Goryachev
Excellent development, Johan, thank you! I’ve asked a few questions in the ticket https://bugs.openjdk.org/browse/JDK-8324941 I suppose I should also do it here: - How do you get information on a (virtual) screen? - How would one control how many virtual screens are there? - Would there be any

Re: Headless glass platform

2024-01-30 Thread Sean M Phillips
This is very cool Johan. I have some questions if you have time to answer: Do you believe your headless platform POC would allow the use of the snapshot method for exporting visuals of a scene to a png? If so do you have any early indications of performance therein? (number of snapshots per secon