Re: Javafxpackager and splash screen

2014-04-13 Thread Michael Hall
On Apr 13, 2014, at 11:10 AM, Abu Abdullah  wrote:

> 
> 
> Can you please try the following test sample on your machine. ideally it 
> should work but it is not in my case:
> https://drive.google.com/file/d/0B6nSYRwywQUoNzV5RHh5bWl6amc/edit?usp=sharing
> 
> the code is compiled with 1.8, you just need to modify the splash path in 
> your case.

Sorry not 1.8. If you think the path is correct you probably have a bug.

Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps 
http://www195.pair.com/mik3hall/index.html#appconverter







Re: Checkmark in JCheckBoxMenuItem not HiDPI/Retina capable

2014-04-13 Thread Hendrik Schreiber
On Apr 13, 2014, at 16:55, Eirik Bakke  wrote:

> Huh, in Hendrik's case it seems he gets an even-larger checkmark even in 
> retina mode (judging from the font size in Hendrik's screenshot). In my case 
> I was _not_ running in retina mode.

Just to confirm: I was using Retina.

-hendrik

Re: Javafxpackager and splash screen

2014-04-13 Thread Abu Abdullah
On Sat, Apr 12, 2014 at 1:52 PM, Michael Hall  wrote:

> On Apr 11, 2014, at 9:38 PM, Abu Abdullah  wrote:
>
> On Sat, Apr 12, 2014 at 6:19 AM, Michael Hall  wrote:
>
>>
>> i tried even the absolute path in case APP_ROOT is not supported but not
>> working.
>>
>>
>> I seem to remember support for something like this being added. But am
>> not sure. You could check the source.
>>
>>
> I tried also with jdk1.8.0 u20 as well but it is the same version
> javafxpackager 2.2
>
>
> I looked at the last appbundler source I have downloaded, which may not be
> current. But saw no support for APP_ROOT in main.m.
> To be sure you could download the latest and check yourself.
> From this, APP_ROOT would not work, you might show how you specified
> fullpath? Path wrong could still be a reason it doesn't work that doesn't
> mean a bug.
>
>
> yes it runs through command line and I'm trying with both 1.8.0 and u20
>
>
> In the most current version of the source that I have, again possibly not
> the actual latest - then it should work application launched.
> The source has...
>
> // Get the VM options
> NSArray *options = [infoDictionary objectForKey:@JVM_OPTIONS_KEY];
> if (options == nil) {
> options = [NSArray array];
> }
>
> ...
>
> // Initialize the arguments to JLI_Launch()
> int argc = 1 + [options count] + 2 + [arguments count] + 1;
> char *argv[argc];
>
> int i = 0;
> argv[i++] = commandName;
> argv[i++] = strdup([classPath UTF8String]);
> argv[i++] = strdup([libraryPath UTF8String]);
>
> for (NSString *option in options) {
> argv[i++] = strdup([option UTF8String]);
> }
>
> So it just copies in the options, no editing, skipping or additions.
> Should be just like command line.
>
> So if path is good, and it doesn't correctly handle the splash option,
> then something is broken somehow that isn't broken in command line and you
> probably have a bug report?
>
>
Can you please try the following test sample on your machine. ideally it
should work but it is not in my case:
https://drive.google.com/file/d/0B6nSYRwywQUoNzV5RHh5bWl6amc/edit?usp=sharing

the code is compiled with 1.8, you just need to modify the splash path in
your case.


Re: Checkmark in JCheckBoxMenuItem not HiDPI/Retina capable

2014-04-13 Thread Eirik Bakke
Huh, in Hendrik's case it seems he gets an even-larger checkmark even in retina 
mode (judging from the font size in Hendrik's screenshot). In my case I was 
_not_ running in retina mode.

From: Hendrik Schreiber mailto:h...@tagtraum.com>>
Date: Sunday, April 13, 2014 at 4:08 AM
To: "macosx-port-dev@openjdk.java.net 
X" mailto:macosx-port-dev@openjdk.java.net>>, 
Alexander Scherbatiy 
mailto:alexandr.scherba...@oracle.com>>
Cc: Eirik Bakke mailto:eba...@mit.edu>>
Subject: Re: Checkmark in JCheckBoxMenuItem not HiDPI/Retina capable

On Apr 11, 2014, at 18:30, Eirik Bakke mailto:eba...@mit.edu>> 
wrote:

> Hmm, now I cannot reproduce the bug. I think it might have disappeared
> when I disconnected and reconnected my external monitor. I will file it
> once I manage to reproduce it consistently.

It does not depend on an external monitor, as I don't one and have observed 
this, too (screenshot of a menu attached).
I've seen this in a menu, that is not in the system menu bar, but in the app 
window itself.
This happened when running an ancient version of HPJmeter. Just double-clicked 
on the jar, and I was able to observe the issue.

ps ax | grep java
 4351   ??  U  0:03.88 /Library/Internet 
Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar 
/Users/hendrik/repository/texte/performance/downloads/hpjmeter/HPjmeter.jar
 4414 s004  R+ 0:00.00 grep java
mankell:~ hendrik$ /Library/Internet\ 
Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)

Hope this helps to nail it down.

-hendrik

PS: I have attached the jar to illustrate the point, please don't re-distribute

[cid:779ad24a-64b1-4e26-850f-d49823c76ca9@exchange.mit.edu]