Jump to content
Excelsior Forums
Sign in to follow this  
johnrule

JET 4.5 issue with transparent images

Recommended Posts

I think there is a problem with the way that JET 4.5 handles drawing buttons with transparent images (i.e. they are 'translucent'). I am getting a lot of contention when I press a button that has it's alpha channel set to a value that makes the current image translucent. This only happens with JET 4.5, and I do not have this problem with anything else:

(with JRE 1.5.0_08 and 1.6.0_03)

NetBeans 5.5.1

execJ

ProGuard

Launch4J

(and running the jar by itself)

As a test, I downloaded JET 6.0 evaluation, and the problem is gone. I don't even have to compile because the test run works fine...which indicates that the compiled JET files have the fix, correct?

The workaround for now (in JET 4.5) is to turn the border off for buttons that have a translucent image to draw, and then it will draw (seemingly) normally. So maybe this is a border issue?

Please fix.

JR

Share this post


Link to post
Share on other sites

We need to know the exact JET profile you are using.

Suppose, the compiled executable on which the problem appears is called "MyApp.exe"

Please, do the following

1) write a simple batch file like

-------------- run.bat

SET JETVMPROP=-version

MyApp.exe

--------------------------------

2) launch it

3) post the printed version info to this thread

Share this post


Link to post
Share on other sites

There was a dialog that popped up with this information:

java version "1.5.0_08"

Java 2 Runtime Environment, Standard Edition

Excelsior JET 4.50: RT: Professional edition, build jet-450-mp4 (Tue Jun 26 19:56:08 NOVST 2007)

JET Profile [1.5.0_08]

Runtime Desktop [sMP: no]

Components

../MyApp.exe: jet-450-mp4 (pro, en)

Is this what you wanted?

Thank you,

JR

Share this post


Link to post
Share on other sites

Don't bother looking into this right now. I am still trying to track down exactly what is doing this...I think it might be the version of Java.

Thanks,

JR

Share this post


Link to post
Share on other sites

That's exactly what  I wanted to propose you to check next.  B)

Typically, such errors concern a particular JRE microversion. According to the version info you posted, you are using the JET profile built for JRE 1.5.0_08.

Therefore, the next step is check it against Sun JRE 1.5.0_08 running your app with full path to the java launcher like

"C:\Program Files\Java\jre1.5.0_08\bin\java.exe" <YourCommandLine>

  or

"C:\Program Files\Java\jdk1.5.0_08\jre\bin\java.exe" <YourCommandLine>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×