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 / GUI / July 2007

Tip: Looking for answers? Try searching our database.

How to get the simplest Swingx app to work

Thread view: 
marcussilfver@gmail.com - 26 Jul 2007 09:14 GMT
I am trying to get started with Swingx. So I went to their webpage
http://swinglabs.org/downloads.jsp and downloaded the latest weekly
build (22 Jul 2007).

What I am trying to do is use the JXPanel. So I included all the 7
jars that came with the package (3 in the lib/ dir and 4 in the lib/
optional dir) in my project and tried to import
org.jdesktop.swingx.JXPanel. But it is not there (Eclipse says: cannot
resolve)!!

I looked in the jars and It is not included in any of them. In fact
all there is in the org.jdesktop package is "layout" and
"swingworker". No swingx whatsoever.

So my question is: How can I get the org.jdesktop.swingx.JXPanel to be
resolved so that I can use the JXPanel?

I am new to all this so sorry if my question is stupid

thanks
Roedy Green - 26 Jul 2007 09:39 GMT
>So my question is: How can I get the org.jdesktop.swingx.JXPanel to be
>resolved so that I can use the JXPanel?

The easiest way access auxiliary jars  to put the jars in your ext
directory. See http://mindprod.com/jgloss/classpath.html
for details.

The easiest way to deploy them to the customer is to use Java Web
Start.  http://mindprod.com/jgloss/javawebstart.html

Alternatively you could use a commercial installer.
see http://mindprod.com/jgloss/installer.html

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

marcussilfver@gmail.com - 26 Jul 2007 10:20 GMT
On 26 Juli, 10:39, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> The easiest way access auxiliary jars  to put the jars in your ext
> directory. Seehttp://mindprod.com/jgloss/classpath.html
> for details.

thanks for answering.
I dont think that is my problem though. In my IDE (Eclipse) I have
added external Jars to the Java build path (clicking project
properties->Java build path->add external JARs). I can see them in the
tree with my project. I can also import the packages that are included
in these jars into my project (they are resolved). The problem is that
there does not seem to be a swingx package in any of these jars, so
that import does not resolve.
Andrew Thompson - 26 Jul 2007 13:32 GMT
>On 26 Juli, 10:39, Roedy Green <see_webs...@mindprod.com.invalid>
>wrote:
...
>I dont think that is my problem though.

<http://swinglabs.org/projects.jsp> seems to rely heavily on
<https://swingx.dev.java.net/>.  Perhaps you can get the
needed binaries from the java.net project.

Signature

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



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.