[8u40] RFR: RT-39764: [macosx] Media crashes when changing EQ band center frequency

2015-01-05 Thread David DeHaven
Kevin, Kirill, please review my fix for RT-39764. JIRA: https://javafx-jira.kenai.com/browse/RT-39764 Webrev: http://cr.openjdk.java.net/~ddehaven/RT-39764/rt.0/index.html -DrD-

Re: SplitPane layout question

2015-01-05 Thread Florian Brunner
Hi Scott, Thanks for your answer. Unfortunatly, I still couldn't fix this issue. I tried several things including setting the prefWidth/ prefHeight of the items to the expected value, but I couldn't stop the SplitPane to effectively hide the first and the third (last) item during a re-layout.

Re: [8u40] RFR: RT-39764: [macosx] Media crashes when changing EQ band center frequency

2015-01-05 Thread David DeHaven
I think Kirill's still out, Alexander can you review this? -DrD- Kevin, Kirill, please review my fix for RT-39764. JIRA: https://javafx-jira.kenai.com/browse/RT-39764 Webrev: http://cr.openjdk.java.net/~ddehaven/RT-39764/rt.0/index.html -DrD-

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
What is Application.getApplication() here? The JavaFX Application class does not have a setOpenFileHandler method. Is that a Mac-specific API? It's too bad that 8u40 won't have this. Being able to easily open double clicked files is pretty basic. Perhaps post 8u40 the JFX team could go through

Re: How to handle file open requests on MacOS

2015-01-05 Thread Danno Ferrin
Oh, yes. Mac has it's own Applicaiton class. Here's the imports for the second file... import com.apple.eawt.AppEvent; import com.apple.eawt.Application; import java.io.File; import java.util.List; import javax.swing.SwingUtilities; The com.apple.eawt stuff is shipped with Oracle JRE and JDK,

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
Scene Builder doesn't do it this way - AFAICT you're only allowed to have one such event handler registered with the OS and JavaFX already registers one ... it just doesn't expose the resulting Java events via public API. On Mon, Jan 5, 2015 at 6:50 PM, Danno Ferrin danno.fer...@oracle.com wrote:

Re: How to handle file open requests on MacOS

2015-01-05 Thread Danno Ferrin
This code works inside of a JavaFX application too, just tried it locally. You may be thinking of an older iteration of the apple application listener classes or perhaps the native level of the code. On Jan 5, 2015, at 11:04 AM, Mike Hearn m...@plan99.net wrote: Scene Builder doesn't do it

Re: How to handle file open requests on MacOS

2015-01-05 Thread Mike Hearn
OK, then I might switch (or maybe not, as my current solution works ...) BTW I noticed that the javapacker ISS changes put the file association entries into HKEY_CLASSES_ROOT. Doing this results in an error half way through setup if you don't run the installer with admin privs. The current

Re: How to handle file open requests on MacOS

2015-01-05 Thread Danno Ferrin
set the exe to install System Wide .. -Bwin.exe.systemWide=true via the CLI. This will cause the application to be installed with admin privleges. Can you open a bug for this (just cut and paste the e-mail) so it will work for local installs? On Jan 5, 2015, at 1:09 PM, Mike Hearn