Article View: borland.public.jbuilder.java.swing
Article #7986Re: getDefaultRenderer() jdk 1.3
From: Joi Ellis [TeamB]
Date: Sat, 04 Nov 2000 00:00
Date: Sat, 04 Nov 2000 00:00
23 lines
1598 bytes
1598 bytes
ross <rperry@commonvision.com> wrote: > Why does my compiler tell me that getDefaultRenderer() > method does not exist in JTableHeader? > The api and the tutorial says it does. There was another thread just recently that revealed a problem with 3rd party jar files containing bits of swing classes, and if those jars are earlier in the classpath than your java 1.3 jars, the compiler will find the older classes instead of the current ones. WebLogic's jar apparently contains some Swing 1.2.2 Action and releated classes which were causing problems for someone. Re-ordering the required libraries list fixed the compile problem. (Or perhaps they removed weblogic from the classpath completely, I don't recall now what their exact fix was.) Look closely at your application's classpath (comment out the offending bits if you have to, just to get it to compile and launch.) See if there aren't any 1.2.2 or older classes lurking in your classpath. -- Joi Ellis (TeamB) No direct email, please. For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID:
<8tvmsn$d9g3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3a03590c$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f4b5b2e867a29c8c
X-Google-Attributes: gid111d45,public
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: getDefaultRenderer() jdk 1.3
Date: 2000/11/04
Message-ID: <8tvmsn$d9g3@bornews.borland.com>
X-Deja-AN: 689444960
References: <3a03590c$1_1@dnews>
Organization: Another Netscape Collabra Server User
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Newsgroups: borland.public.jbuilder.java.swing