Reputation: 3618
I have two projects, project1 and project2 for simplicity's matter. Project1 has package my.proj1 in it, that contains class myclass.
What is the correct sequence of actions to take for creating object my.proj1.myClass in one of the classes of project2?
I've tried adding project1 as reference, but for some reason that doesn't allow me to import classes from my.proj1 pakage.
Upvotes: 1
Views: 7889
Reputation: 1
You type -(class name)space (object name) equals new (class name); now you can access components of class by object name like suppose u have 1 component like void input() (object name).input:
Upvotes: 0
Reputation: 5326
Click on your current project, go to Properties, then Libraries, and then you should see one of the options as "Add Project". (I haven't actually tried to see if it works.)
Upvotes: 5