How can i get javax.swing

A

alarcon.rodrigo

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! :)
 
S

Steve Sobol

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.
 
A

Acidnecro

javax.swing.* is part of the JDK.

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 :)
 
S

Steve Sobol

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.
 
L

Lew

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?
 
A

Andrew Thompson

Lew said:
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).
 
M

Mark Space

Acidnecro said:
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.
 
A

Andrew Thompson

Mark said:
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. ]

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

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200710/1
 
M

Mark Space

Andrew said:
Mark Space wrote:

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top