Hi! This is my first post, my first language is not english but I will try to expose my problem
Im new on Java world but not new as a programmer, and Im using Netbeans. To learn Java Im creating a lot of mini projects on the structure showed below:
Im working on the project called DeskApplet and I need a public class that I created on the project called YCreator. I like my projects very organised, so I need to know how can I share classes among all projects, but on a organized way.
Thanks in advance for all replyes!
To make the classes from one project available in another project, you will have to create a dependency in NetBeans from the other project to the first project, or you will have to add the classes from the first project in the classpath of the other project. You can set this by selecting File / Project Properties, Libraries. Use the buttons "Add Project...", "Add Library..." or "Add JAR/Folder" to add a depencency on another project, a library or a JAR file or folder with class files.