I'm trying to make a program that can connect to another and view certain information about the existing program. How would I "attach" it?
I understand that you are trying to connect to an existing Java Program using one...If that is the case, you need to do either one of the thing:
1. Create an object for the parent class and try using the variables and methods using it.
2. Inherit the parent class and try accessing the objects from it...
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.