United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4432700 : Look and Feel UI problem

Details
Type:
Bug
Submit Date:
2001-04-02
Status:
Closed
Updated Date:
2001-04-13
Project Name:
JDK
Resolved Date:
2001-04-13
Component:
deploy
OS:
windows_nt
Sub-Component:
webstart
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.0.1
Fixed Versions:
1.0.1 (1.0.1)

Related Reports

Sub Tasks

Description
Bug from the feedback alias.  The email describes the bug.

From: "David Daney" <###@###.###>
To: <###@###.###>
Subject: Problem found with jws 1.0.1ea
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

The JWS is a good product, but I have found a bug that I think you should
look into in 1.0.1ea

I am running on Windows2000 Professional sp1 and am using the jdk1.3.0 as
the runtime my program uses (I have not been able to make 1.3.1-beta work
JWS for some reason.).

These problem can be demonstrated with my program loaded from the following
URL:

http://www.ibw.com.ni/~daney/junk/doc.html

The demo program sets its Look&Feel to the platform native L&F (Windows in
this case).  The main window of the program has the proper L&F however any
dialogs raised have the metal L&F if the JWS does not have its "Show Java
Console" option enabled.  To demonstrate, set show-java-console to false in
the JWS Advanced preferences page then run the demo above.  It should have
the windows look and feel (if run from windows which is the whole point here
anyhow).  Now select from the menu bar Help->About, a dialog should open
showing some information.  The problem is that it has the metal look and
feel.  Now exit the demo and set show-java-console to true and repete the
test.  This time you should get the about dialog with windows look and feel
(as it should always be).


David Daney


                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.0.1

FIXED IN:
1.0.1

INTEGRATED IN:
1.0.1

VERIFIED IN:
1.0.1


                                     
2004-08-31
EVALUATION

This might be due to the following:

>Bug 3 is due to the different class loader that is used by the UIManager.
>Here I had to apply the workaround that was supplied for Bug 4155617 in the
>JDC Bug Parade (UIManager.put("ClassLoader", getClass().getClassLoader());
>). That Bug has the status fixed, but it still is a problem for JWS. It is
>not a problem though if developers know about this.

-stephen.bohne@East 2001-04-04

Fixed.  This is due to we set the default lookandfeel in the incorrect thread.

thomas.v.ng@east 2001-04-05
                                     
2001-04-04



Hardware and Software, Engineered to Work Together