Article View: borland.public.jbuilder.java.swing
Article #12372use Swing 1.0.3 - UIDefaults.getUI() failed
From: Lo�c Tr�gan
Date: Fri, 15 Jan 1999 00:00
Date: Fri, 15 Jan 1999 00:00
25 lines
1355 bytes
1355 bytes
Hi all,
I've made a simple application, which works fine with JBuilder libraries
(either from the dos prompt or from the IDE). Unfortunatly, when I execute
it with swing 1.0.3 and jdk1.1.7, I get the following error for each swing
component :
" UIDefaults.getUI() failed : no ComponentUI class for
com.sun.java.swing.JButton[ ,0,0,OxO,invalid,
layout=com.sun.java.swing.Overlaylayout ]"
I use this command line to launch the application :
jre -cp autohhlp.jar autohhlp.Application1
here are my environment variables :
set ClassPath="C:\Program Files\JavaSoft\JRE\1.1\lib\rt.jar";"C:\Program
Files\JavaSoft\JRE\1.1\lib\swingall.jar"
SET PATH="C:\PROGRA~1\JAVASOFT\JRE\1.1\BIN\";%path%
here are the file versions :
rt.jar 1346KB 11/11/98 21:07
swingall.jar 1957KB 30/06/98 14:43
thanx for your help.
Technical Details
Message-ID:
<77n2qe$2vi1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a6c26cfd0fe7fe04,start X-Google-Attributes: gid111d45,public From: "Lo�c Tr�gan" <tregan@ilog.fr> Subject: use Swing 1.0.3 - UIDefaults.getUI() failed Date: 1999/01/15 Message-ID: <77n2qe$2vi1@forums.borland.com> X-Deja-AN: 432887520 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.swing