Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

How can i get javax.swing

Thread view: 
alarcon.rodrigo@gmail.com - 17 Oct 2007 21:53 GMT
Hello, i'm new to java programming and i'm need some tips. First of
all i had downloaded and installed the jdk1.6.0_03 and installed also
JCreator Pro, but i need to user the javax.swing library.... where can
i download that library? is the jdk1.6.0_03 the correct stuff to
create swing applications or should i get the J2SE 1.4.2_13?

Thnx in advance! :)
Steve Sobol - 17 Oct 2007 23:13 GMT
> Hello, i'm new to java programming and i'm need some tips. First of
> all i had downloaded and installed the jdk1.6.0_03 and installed also
> JCreator Pro, but i need to user the javax.swing library.... where can
> i download that library? is the jdk1.6.0_03 the correct stuff to
> create swing applications or should i get the J2SE 1.4.2_13?

javax.swing.* is part of the JDK.

Signature

Steve Sobol, Victorville, CA     PGP:0xE3AE35ED  www.SteveSobol.com

Wahoo! Indians beat New York to advance to the AL Championship Series!
http://www.latimes.com/sports/la-sp-al9oct09,1,5871580.story

Acidnecro - 17 Oct 2007 23:38 GMT
> > Hello, i'm new to java programming and i'm need some tips. First of
> > all i had downloaded and installed the jdk1.6.0_03 and installed also
[quoted text clipped - 8 lines]
>
> Wahoo! Indians beat New York to advance to the AL Championship Series!http://www.latimes.com/sports/la-sp-al9oct09,1,5871580.story

Much thnx for the answer, actually i was getting some compile error
because i was doing an "import java.swing", not "import javax.swing".
I know it a lame error but since I'm a total newb on java, some things
are not so obvious to me :)
Steve Sobol - 17 Oct 2007 23:57 GMT
> Much thnx for the answer, actually i was getting some compile error
> because i was doing an "import java.swing", not "import javax.swing".
> I know it a lame error but since I'm a total newb on java, some things
> are not so obvious to me :)

Acid,

Yeah, we all had to start somewhere; no worries! You should check out
docjar.com; it's a great resource even for those of us who've done Java
programming for years.

Signature

Steve Sobol, Victorville, CA     PGP:0xE3AE35ED  www.SteveSobol.com

Wahoo! Indians beat New York to advance to the AL Championship Series!
http://www.latimes.com/sports/la-sp-al9oct09,1,5871580.story

Lew - 18 Oct 2007 00:20 GMT
alarcon.rodrigo@gmail.com wrote:
> is [sic] the jdk1.6.0_03 the correct stuff to
> create swing [sic] applications or should i [sic] get the J2SE 1.4.2_13?

Gosh, don't download 1.4, it's in its End-of-Life phase.  Java 6 is the
current version; don't waste your time with an obsolescent version.

Have you read the verbiage on the Java web site about what the JDK is versus
what the JRE is?

Signature

Lew

Andrew Thompson - 18 Oct 2007 01:40 GMT
>alarcon.rodrigo@gmail.com wrote:
>> is [sic] the jdk1.6.0_03 the correct stuff to
>> create swing [sic] applications or should i [sic] get the J2SE 1.4.2_13?
>
>Gosh, don't download 1.4, it's in its End-of-Life phase.  Java 6 is the
>current version; don't waste your time with an obsolescent version.

Further to that, JDK 1.4 can develop apps suitable
for Java with a minimum version of 1.1 -> 1.4.
JDK 1.6 can develop apps suitable for Java with a
minimum version of 1.1 -> 1.6.

If you want to use generics or beyond, use the latest JDK
(and if you don't - no drama).

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Mark Space - 18 Oct 2007 03:57 GMT
> Much thnx for the answer, actually i was getting some compile error
> because i was doing an "import java.swing", not "import javax.swing".
> I know it a lame error but since I'm a total newb on java, some things
> are not so obvious to me :)

This is surprising.  A good idea will tell you that "import java.swing"
isn't found before you compile.  And it will add the correct import for
you, and remove ones that you aren't using.

Dump that lame JCreator and get NetBeans.
Andrew Thompson - 18 Oct 2007 04:16 GMT
>> Much thnx for the answer, actually i was getting some compile error
>> because i was doing an "import java.swing", not "import javax.swing".
>> I know it a lame error but since I'm a total newb on java, some things
>> are not so obvious to me :)
>
>This is surprising.  A good idea..

IDE?  A good IDE is perhaps a good idea, but
they are not the same thing!

>.. will tell you that "import java.swing"
>isn't found before you compile.  And it will add the correct import for
>you, and remove ones that you aren't using.
>
>Dump that lame JCreator and get NetBeans.

As I see it, only 2 things are really needed to fix
the problem.
- Understanding the compiler error, and (possibly)
- Access to the JavaDocs.

[ Though I would expect a good IDE to hook the
JavaDocs 'directly into' the debug messages/code. ]

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Mark Space - 18 Oct 2007 18:41 GMT
>> This is surprising.  A good idea..
>
> IDE?  A good IDE is perhaps a good idea, but
> they are not the same thing!

Yeah not sure what happened there.  I did mean IDE.  Maybe the spelling
checker got me...


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.