Article View: borland.public.jbuilder.java.swing
Article #12420Re: JRootPane and swing deployment
From: Matt Krevs
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
29 lines
1421 bytes
1421 bytes
I'm no applet/classpath guru but I'm pretty certain that Swing is not part of the JRE. You need to deploy all Swing classes that you use in your applets. Daniel R. J. Lind wrote in message <77bqpc$miq4@forums.borland.com>... >Hi, > >When I use the deployment wizard to deploy a test applet that includes only >a BorderLayout and includes the following imports: > >import java.awt.*; >import java.awt.event.*; >import java.applet.*; >import com.sun.java.swing.*; > >I get the following error in Netscape 4.5 "Applet exception: error: >java.lang.NoClassDefFoundError: com/sun/java/swing/JRootPane" and a more >general one in IE 4.01. > >I have tried loading the latest JRE 1.1.7, but it makes no difference. I >thought that standard Swing components were in the JRE. Why can't it find >the class? It had no trouble finding my own classes that I used and >deployed. > >Cheers, > >Daniel > >
Technical Details
Message-ID:
<77c1l3$mim9@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<77bqpc$miq4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6bfa6b14f153677c X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: JRootPane and swing deployment Date: 1999/01/11 Message-ID: <77c1l3$mim9@forums.borland.com> X-Deja-AN: 431129156 References: <77bqpc$miq4@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing