🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: New Packages

#1734
From: Rob
Date: Sat, 22 Sep 2001 15:52
58 lines
3135 bytes
Thank you for your continued attention Joi!

OK - I don't understand how this works.

When I try control-alt-space, I still do not see 'ext', 'lib' or 'FontChooser'
packages there, which tells me that whatever steps I have performed earlier
("Tools >> Configure JDK's >> Class >> Add >>
c:/jdk/jre/lib/ext/FontChooser.jar") this has not added my classes to the list
of importable java packages.

How do I add a jar file or directory to the list of importable java packages??

Thanks!

Rob



"Joi Ellis [TeamB]" <joi@aravox.com> wrote in message news:3baca2d0_2@dnews...
> 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: <3bacb46b$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews
References: <3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@dnews> <3bac9bf5_1@dnews> <3bac9fa7$1_2@dnews> <3baca2d0_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 09:04:12 PST
From: "Rob" <"relaxedrob@optushome.com.au">
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> <3baca2d0_2@dnews>
Subject: Re: New Packages
Date: Sun, 23 Sep 2001 01:52:48 +1000
Lines: 60
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 203.164.96.29
Message-ID: <3bacb46b$1_1@dnews>
X-Trace: dnews 1001174123 203.164.96.29 (22 Sep 2001 08:55:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews