posted 17 years ago
[edit: err actually i just realized that this post would be more suited into the swing forum. can someone move it? thanks, jy]
Hello everyone!
I have a simple JTree into a JInternalFrame which is used to display some formatted data.
I would like to allow the user to double click on one of the item of the tree, which would result in loading the values embedded in this item and display them into *another* JInternalFrame.
How can i call a method belonging to a Frame form another Frame? One can think that the calling Frame as to be aware of the existence of the called Frame, but how could one do that in an *elegant* way?
Thanks!
jy
[ March 12, 2007: Message edited by: Jean-Yves Tinevez ]