Re: Java-based app bundle with minimum os version simply crashes on machine with lower os version

2016-04-09 Thread Scott Palmer
On Apr 9, 2016, at 9:35 AM, Michael Hall wrote: >> On Apr 8, 2016, at 2:42 AM, Robert Krüger wrote: > >> I wanted to require a minimum os version for our app bundle and was >> disappointed to realize that when I use the LSMinimumSystemVersion key for >> that in Info.plist that the behaviour of

Re: Setting created timestamp of files using BasicFileAttributeView

2016-03-05 Thread Scott Palmer
If it can be accomplished by native code then I would file a bug against the JDK as that is clearly where such native code belongs. Scott > On Mar 5, 2016, at 8:15 AM, Robert Krüger wrote: > > Hi, > > could anyone tell me if setting the created time of a file via > BasicFileAttributeView is n

Re: Intermittent paint flicker bug on MacOS?

2015-12-03 Thread Scott Palmer
I don’t think I’ve seen it. Does it happen if you don’t connect the external monitor? Maybe try running with: export J2D_TRACE_LEVEL=4 to see if there are any debug messages that might give a hint as to what is going on. you could also try forcing openGL off with: -Dsun.java2d.o

Re: Context Menu Issue in OS X

2015-03-12 Thread Scott Palmer
This issue is not specific to OS X, it happens on Windows too. As far as I can tell, it is a bug in Swing. If you scroll with a scrollbar it works, but a mouse wheel dismisses the menu. File a bug with Oracle if you haven't already. Scott On Thu, Mar 12, 2015 at 5:23 AM, Petr Hadraba wrote:

Re: Ending the need for apple.laf.useScreenMenuBar

2015-01-23 Thread Scott Palmer
wrote: > On 05.12.2011 21:29, Mike Swingler wrote: > >> On Dec 5, 2011, at 6:49 AM, Scott Palmer wrote: >> >> On Mon, Dec 5, 2011 at 6:04 AM, Artem Ananiev >>> wrote: >>> >>> On 12/3/2011 4:23 AM, Scott Kovatch wrote: >>>> >>>&

Re: OSX failing to get a url for image even though it is a supported dataflavour for the transferable

2014-09-22 Thread Scott Palmer
The XML has an array of two strings. Are you sure you aren't getting the error from the second blank string? Scott On Mon, Sep 22, 2014 at 7:10 AM, Paul Taylor wrote: > Customer reporting this error when trying to copy and paste an image from > amazon, although we check the transferable object

Re: Disabling AppNap from java

2014-02-22 Thread Scott Palmer
On Sat, Feb 22, 2014 at 4:49 PM, Paul Taylor wrote: > On 22/02/2014 20:43, Eirik Bakke wrote: > >> JNA might be a simpler way to call native functions: >> https://github.com/twall/jna >> >> ... > > > I think JNA or its own is Wndows only isnt it, but there is something > called rococoa. > To be

Re: AppleScript script engine

2014-02-15 Thread Scott Palmer
If I don't define JAVA_HOME I automatically get the latest jdk when I run commands. Something is handling that. I think it is the commands that are linked to - they don't run java 6 automatically. Scott On Feb 15, 2014 1:01 PM, "Michael Hall" wrote: > On Feb 15, 2014, at

Re: AppleScript script engine

2014-02-15 Thread Scott Palmer
On Feb 15, 2014 11:10 AM, "Michael Hall" wrote: > I think that may also explain my remaining jrunscript problem. > ls -l /usr/bin/jrunscript > lrwxr-xr-x 1 root wheel 80 Mar 12 2013 /usr/bin/jrunscript -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/jrunscript > I wil

Re: AppleScript script engine

2014-02-14 Thread Scott Palmer
$ jrunscript -q Language AppleScript 2.3 implementation "AppleScriptEngine" 1.1 Language ECMAScript ECMA - 262 Edition 5.1 implementation "Oracle Nashorn" 1.8.0 I have Apples, latest Java 6 runtime as well as JDK 1.7.0_51 and JDK 1.8.0 b129 installed. Based on the "Oracel Nashorn" 1.8.0, I woul

Re: [9] Review request for 8033534 Get MultiResolution image from native system

2014-02-10 Thread Scott Palmer
Just to be clear, "the image representations are chosen to be closest to the requested size" is not accurate. This change returns the smallest image representation that is greater than or equal to the requested size. (Which I believe is the correct thing to do.) A smaller image representation may

Re: Getting OS X to Install Java 7 on App Launch

2014-02-05 Thread Scott Palmer
As you seem to be aware, with Java 7 and later you are expected to embed the JRE in your application bundle. I think the JavaFX packager will do this for you. The size is usually not relevant these days and the added reliability makes up for it anyway. You leave no room for the user to downloa