Article View: borland.public.jbuilder.java.api
Article #1731Re: New Packages
From: Joi Ellis [TeamB]
Date: Sat, 22 Sep 2001 14:11
Date: Sat, 22 Sep 2001 14:11
33 lines
2275 bytes
2275 bytes
Rob <"relaxedrob@optushome.com.au"> wrote: > Thank you for your response Joi! > Configure JDK's >> Class >> Add > C:/jdk/jre/lib/ext/FontChooser.jar > But how do I import this as a package then?? > When I go to > Project >> Add Files/Packages >> Explorer, I can see (and add) all of the > individual files in the package, but this is *not* what I want to do. I want to > import the *package* just as I would do with java.io.* etc. > When I go Project >> Add Files/Packages >> Packages, I do not see the package > there - how can I make JBuilder see my package *as* a package?? You do not need to use "Add Files/Packages" unless you have source and intend to compile the stuff with the rest of your project's sources. If you have added the jar to the JDK's list of jars, *and* that JDK is the JDK selected in the Project's properties, then you need only add the import statements to your own code. Place the cursor in a source file somewhere within a class or method, then press control-alt-space. You'll get a class/package browser, and your FontChooser should be available within its own package (whatever that is.) -- 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:
<3bac9bf5_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!62.53.226.180.MISMATCH!feedme.news.mediaways.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3bac39e3$1_2@dnews> <3bac7e68_1@dnews> <3bac96e0$1_1@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:12:41 PST
Message-ID: <3bac9bf5_1@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>
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:11:02 -0700
X-Trace: dnews 1001167862 209.46.41.66 (22 Sep 2001 07:11:02 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!62.53.226.180.MISMATCH!feedme.news.mediaways.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail