Is there popup search dialog for this?
I have a tree that has 2 main parent nodes.
One is called Organizations and the other is called Resources.
Under Organizations node, there are sub-nodes called organization,
and under Resources node, there are sub-nodes called resource.
Each resource can be referred by more than one organization, but it's not easy to know that a resource is referred by what what organization.
What I want to accomplish is ..
If I right click on a resource, there will be popup search dialog that has 2 radio buttons, one is for up and the other one is for down search.
Then, there is find and cancel buttons.
If you click find button, it will high light the first instance of organization that refers this resource depending on up or down radio button you selected.
(up radio button is for top-down search and down radio button is for down-to-top search)
If you click find button again,
it will take you next instance of organization that refers this resource and so on.
If you click cancel button, the search dialog will disappear.
Is there code sample or a way that I can do this?
Should I use JOptionPane?
I really appreciate your help.