Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
you don't really leave classes and use another class, and come back.. what you do is call the method (static) of other classes or instantiate the class itself (HAS-A relationship) in the class that you're using. if your line coordinates is in another class, create new methods in the other class that returns the coordinate in either Point or any other type of objects that desire, and then u can use those coordinates to draw the lines.
Replies:
|
Sponsored Links
|