Skip to main content

[Java Question] Connecting to an existing program

1 reply [Last post]
bubsmcbubs
Offline
Joined: 2007-05-29

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?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ezhiloct6
Offline
Joined: 2007-06-27

Hello,

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...

Regards /Ezhil