🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10721

Import * not working in JBuilder

#10721
From: Tyler Sperry
Date: Fri, 13 Aug 1999 00:00
23 lines
1145 bytes
I am using JBuilder to delvelop some Java.  At the top I have the
import for swing:

import javax.swing.*;

Using the * should get all of the classes in the package swing.  For
some reason it does not import all of classes, so when I compile it
using JBuilder, I get class not found errors(ie JApplet must be
defined).

I have to write out all of the swing objects I use.  For instance if I
use JApplet and 1 Jbutton and a Jlabel I have to do the following:

import javax.swing.JApplet;
import javax.swing.JLabel;

to get it to see the 2 classes I need in swing.  Then the JBuilder
compiler works fine and I can compile.

What do I do to fix this.  Something in JBUilder is not set up
correct.

Thanks, Tyler
Technical Details
Message-ID: <37b48523.268314996@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,12ed255a913f5495,start
X-Google-Attributes: gid111d45,public
From: tyler.sperry@sufsys.com  (Tyler Sperry)
Subject: Import * not working in JBuilder
Date: 1999/08/13
Message-ID: <37b48523.268314996@forums.inprise.com>
X-Deja-AN: 512393541
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing