Article View: borland.public.jbuilder.java.language
Article #15300Re: Swing
From: MJR
Date: Wed, 23 Jun 1999 00:00
Date: Wed, 23 Jun 1999 00:00
12 lines
1968 bytes
1968 bytes
Oh and when I import javax.swing.*, and try to create a JButton, everything compiles fine, but I get a run-time NoClassDefFoundError: javax/swing/JButton MJR wrote in message <7kr9ep$j1j$1@mailint03.im.hou.compaq.com>... >Does anyone know how to use Swing components? The java.sun.com site says >that Swing is automatically installed with jdk1.2.1, which is what I'm >using. But when I try to create something like a >com.sun.java.swing.JButton, I get a compile-time error telling me that this >class couldn't be found. Any help would be appreciated. > >
Technical Details
Message-ID:
<7krbf2$nem$1@mailint03.im.hou.compaq.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7kr9ep$j1j$1@mailint03.im.hou.compaq.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,9cfed302216836dc X-Google-Attributes: gidf5d71,public X-Google-Thread: 111d6b,9cfed302216836dc X-Google-Attributes: gid111d6b,public X-Google-Thread: 113ae9,9cfed302216836dc X-Google-Attributes: gid113ae9,public X-Google-Thread: 10bb9b,9cfed302216836dc X-Google-Attributes: gid10bb9b,public X-Google-Thread: fa45f,9cfed302216836dc X-Google-Attributes: gidfa45f,public X-Google-Thread: fecd1,9cfed302216836dc X-Google-Attributes: gidfecd1,public X-Google-Thread: 10a146,9cfed302216836dc X-Google-Attributes: gid10a146,public X-Google-Thread: f74b3,9cfed302216836dc X-Google-Attributes: gidf74b3,public From: "MJR" <Rao.Mohith@compaq.com> Subject: Re: Swing Date: 1999/06/23 Message-ID: <7krbf2$nem$1@mailint03.im.hou.compaq.com> X-Deja-AN: 493049999 References: <7kr9ep$j1j$1@mailint03.im.hou.compaq.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 930165026 24022 172.18.100.18 (23 Jun 1999 19:10:26 GMT) Organization: Compaq Computer Corp. NNTP-Posting-Date: 23 Jun 1999 19:10:26 GMT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.api,comp.lang.java.help,comp.lang.java.machine,comp.lang.java.misc,comp.lang.java.programmer,microsoft.public.inetexplorer.ie4.java_applets