🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem using JDK 1.2b4 and Swing 1.1b3

#12916
From: Richard Wilkman
Date: Mon, 19 Oct 1998 00:00
53 lines
2566 bytes
Paul:

You might want to look at the other threads on this topic in the ide
section.

-Rich

Paul Erion wrote:
> 
> I'm puzzled ... I'm attempting ot test some of the features of JDK 1.2
> Beta 4 and Swing 1.1 Beta 3, but I'm having difficulty constructing
> the most trivial of examples.  For my project properties I've set up
> the target JDK as per Blake Stone's directions, and the only Java
> library that I've included is Swing 1.1 Beta 3 [the classpath being
> set to swingall.jar].  I create a new project, [via the Project
> Wizard], then I go to the "File" menu, select "New..." and click on
> "Application", check "Use only core JDK and Swing classes" in the
> Application Style" section, fill out the text fields [giving names to
> things] and that's it.  Now when I build the project, I get the error
> "Error: (24) method
> setLookandFeel(com.sun.java.swing.plaf.windows.WindowLookAndFeel) not
> found in class com.sun.java.swing.UIManager."
> 
> The wizard has decided to include "import
> com.sun.java.swing.UIManager;".  If I change that to "import
> javax.swing.UIManager;", the thing compiles.  So in some sense, my
> question becomes why is "com.sun.java.swing.UIManager" being imported
> instead of "javax.swing.UIManager" when I'm using Swing 1.1 [at least
> I think I am].
> 
> Any help would be greatly appreciated ... and if I haven't adequately
> explained what I've done please feel free to ask.
> 
> Thanks,
> 
> :Paul
> 
> p.s., I using JBuilder 2 Pro on NT 4.0 sp3

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <362BBCA2.4887DF25@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <362b5a90.242635765@news6.bellatlantic.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,35319f0fde361099
X-Google-Attributes: gid111d45,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: problem using JDK 1.2b4 and Swing 1.1b3
Date: 1998/10/19
Message-ID: <362BBCA2.4887DF25@inprise.com>
X-Deja-AN: 402974735
Content-Transfer-Encoding: 7bit
References: <362b5a90.242635765@news6.bellatlantic.net>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing