Bugs item #762273, was opened at 2003-06-27 23:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=762273&group_id=44253
Category: UI: Windows-specific
Group: Would be nice if fixed ...
Status: Open
Resolution: None
Priority: 6
Submitted By: Neal Horowitz (nrhorowitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: XP LookAndFeel doesn't work in DrJava
Initial Comment:
I get this error if I try to run DrJava with the new
Windows XP look-and-feel (jdk1.4.2). I also tried it with
another non-trivial program (an old comp314 project),
which works from the command-line if I specify the new
look-and-feel but not from within the interactions pane.
java.lang.UnsatisfiedLinkError: getTextResourceByInt
at
com.sun.java.swing.plaf.windows.XPStyle.getTextResour
ceByInt(Native Method)
at
com.sun.java.swing.plaf.windows.XPStyle.<init>
(Unknown Source)
at
com.sun.java.swing.plaf.windows.XPStyle.getXP
(Unknown Source)
at
com.sun.java.swing.plaf.windows.WindowsProgressBarUI.i
nstallDefaults(Unknown Source)
at
javax.swing.plaf.basic.BasicProgressBarUI.installUI
(Unknown Source)
at javax.swing.JComponent.setUI(Unknown
Source)
at javax.swing.JProgressBar.setUI(Unknown
Source)
at javax.swing.JProgressBar.updateUI(Unknown
Source)
at javax.swing.JProgressBar.<init>(Unknown
Source)
at javax.swing.JProgressBar.<init>(Unknown
Source)
at javax.swing.JProgressBar.<init>(Unknown
Source)
at
edu.rice.cs.drjava.ui.JUnitPanel$JUnitProgressBar.<init>
(JUnitPanel.java:454)
at edu.rice.cs.drjava.ui.JUnitPanel.<init>
(JUnitPanel.java:122)
at edu.rice.cs.drjava.ui.MainFrame._setUpTabs
(MainFrame.java:2675)
at edu.rice.cs.drjava.ui.MainFrame.<init>
(MainFrame.java:1077)
at edu.rice.cs.drjava.DrJava.main
(DrJava.java:151)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown
Source)
at
koala.dynamicjava.interpreter.EvaluationVisitor.visit
(EvaluationVisitor.java:666)
at
edu.rice.cs.drjava.model.repl.EvaluationVisitorExtension.v
isit(EvaluationVisitorExtension.java:222)
at
koala.dynamicjava.tree.StaticMethodCall.acceptVisitor
(StaticMethodCall.java:107)
at
edu.rice.cs.drjava.model.repl.DynamicJavaAdapter$Interp
reterExtension.interpret(DynamicJavaAdapter.java:430)
at
edu.rice.cs.drjava.model.repl.DynamicJavaAdapter.interpr
et(DynamicJavaAdapter.java:96)
at
edu.rice.cs.drjava.model.repl.newjvm.InterpreterJVM$4.ru
n(InterpreterJVM.java:261)
Besides the WindowsProgressBarUI, I also got the error
from a WindowsToggleButtonUI.
Anyway, we should try to track this down at some
point. It's not essential--DrJava runs fine with plain old
Metal, but this problem can also occur if jdk1.4.2 users
try to run new apps with this look-and-feel from the
interactions pane.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=762273&group_id=44253
|