🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15301

Re: Swing

#15301
From: sameerreddy
Date: Wed, 23 Jun 1999 00:00
28 lines
1945 bytes
Have you mentioned any package name in the program,
if so compile with javac -d theparentdirectoryofthepacakge classname,
then run the program from that file.(assuming u'r using Windows)

In article <7krbf2$nem$1@mailint03.im.hou.compaq.com>,
  "MJR" <Rao.Mohith@compaq.com> wrote:
> 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.
> >
> >
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID: <7kril3$inp$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7kr9ep$j1j$1@mailint03.im.hou.compaq.com> <7krbf2$nem$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: 113ae9,9cfed302216836dc
X-Google-Attributes: gid113ae9,public
X-Google-Thread: f74b3,9cfed302216836dc
X-Google-Attributes: gidf74b3,public
X-Google-Thread: fecd1,9cfed302216836dc
X-Google-Attributes: gidfecd1,public
From: sameerreddy@my-deja.com
Subject: Re: Swing
Date: 1999/06/23
Message-ID: <7kril3$inp$1@nnrp1.deja.com>
X-Deja-AN: 493059382
References: <7kr9ep$j1j$1@mailint03.im.hou.compaq.com> <7krbf2$nem$1@mailint03.im.hou.compaq.com>
X-Http-Proxy: 1.1 x24.deja.com:80 (Squid/1.1.22) for client 38.178.196.20
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Wed Jun 23 21:13:17 1999 GMT
Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.api,comp.lang.java.help
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)