How do I get a reference to an instianted object from another one?
For example if I have two different objects lets say a menu jMenuBarX and a frame jFrameX. How can I get a reference to jFrameX from jMenuBarX so I can access all public the methods on the frame? It would be nicer if I could get a refrence to it and test to see if it has acctually been instianted first.
Thanks in advance
Jeff Sulman
For example if I have two different objects lets say a menu jMenuBarX and a frame jFrameX. How can I get a reference to jFrameX from jMenuBarX so I can access all public the methods on the frame? It would be nicer if I could get a refrence to it and test to see if it has acctually been instianted first.
Thanks in advance
Jeff Sulman