🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1733

Re: New Packages

#1733
From: Joi Ellis [TeamB]
Date: Sat, 22 Sep 2001 14:40
37 lines
2436 bytes
Rob <"relaxedrob@optushome.com.au"> wrote:
> Howdy Joi!

> OK, I have added

> "Tools >> Configure JDK's >> Class >> Add >> c:/jdk/jre/lib/ext/FontChooser.jar"

> and in the "Tools >> Configure JDK's >> Class" panel,
> 'c:/jdk/jre/lib/ext/FontChooser.jar' appears as one of the entries.

Okay.

> All of the classes in the FontChooser package contain the following package
> statement:
> package FontChooser;

> When I go "Project >> Add Files/Packages >> Packages", I can't see an 'ext',
> 'lib' or 'FontChooser' package there. How do I configure my package so it can be
> imported through this option?

You do NOT need to do this.   If a jar or classes folder is anywhere on the
project's classpath, you can use its contents.  You do not need to 'add'
them to the project in any other fashion.  The only stuff you need to add
to the project is that which you need to compile or build.  You don't need
to add jars or class files, those go into library or jdk definitions.

Open the  class/package browser with control-alt-space and you should see
'FontChooser' as an available package/class.  Select it.  JBuilder will
automatially insert an 'import' statement for it in the top of the file,
and insert its name at the cursor's current locaton.

-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID: <3baca2d0_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail
References: <3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@dnews> <3bac9bf5_1@dnews> <3bac9fa7$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f082586d7b00139e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-22 07:42:38 PST
Message-ID: <3baca2d0_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: New Packages
Newsgroups: borland.public.jbuilder.java.api
References: <3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@dnews> <3bac9bf5_1@dnews> <3bac9fa7$1_2@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 22 Sep 2001 07:40:17 -0700
X-Trace: dnews 1001169617 209.46.41.66 (22 Sep 2001 07:40:17 -0700)
Lines: 37
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail