I have some classes that I use in most of my projects. What and how do I create something so the I can use them. A jar? An import?

I'm using NetBeans as my IDE.

Thanks for the help.

Of course you will be using an import (excpet for those classes in the same package of course.

Either include the directory which contains the "root" of those classes packages on the classpath or create a jar and include that jar on the classpath.

http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.