Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2008, 01:02 PM   PM User | #1
TMWTP
New Coder

 
Join Date: Apr 2008
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
TMWTP is an unknown quantity at this point
Importing Java packages with eclipse

Hi,
As a beginner in the Java world, I only know the basics of Java programming. For a new project, I need to import an archive file (.jar), which consists of several classes. I imported the jar file already, but I don't know exactly how to use it in the program itself. I know how to do it with standard libraries (like swing: import javax.swing.* but how do I do it with imported packages?

A screen shot:

For who wants to know which libraries: they are the libraries for the Belgium electronic ID, which can be found here: Belgium eID SDK

Thanks!
TMWTP is offline   Reply With Quote
Old 07-20-2008, 11:13 AM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
its not any different from the standard libraries. you just import the classes that you want. with eclipse once you add it to the build path it can automatically organize imports for you to the specific classes you are using in your code
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Old 08-01-2008, 07:02 AM   PM User | #3
Jayy
New to the CF scene

 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Jayy is an unknown quantity at this point
Code:
import package javax.swing.*;
Correct me if I'm wrong.
Jayy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:43 PM.


Advertisement
Log in to turn off these ads.