Hi!

Tell me one thing what are you setting as parent for the second Dialog 
Box (which opens  up on clicking of the tree )

vikram

Soumitra Dhankar wrote:

> Hi All,
>
> My application has a modal JDialog which contains a JTree.
>
> On right click of nodes of this JTree I want to show a JPopupMenu 
> containing one JMenuItem.
>
> On clicking this Menu Item I want to show another modal JDialog asking 
> some input from the user.
>
> It has a submit button to accept user response.
>
> Based on the user response ultimately the tree node will be populated.
>
>  
>
> However this is not working as I expected.
>
> A right click on Tree node is showing the popup menu but nothing is 
> happening when I click on the menu item.
>
> On the other hand if I make the dialog box as non-modal, then on click 
> of the menu item I am getting the dialog box.
>
> However again if I click on the submit button of this JDialog, nothing 
> is happening again even if I make it as non modal.
>
>  
>
> Can anybody suggest a solution.
>
>  
>
> Waiting for your responses.
>
> Regards
>
> -Soumitra
>
>  
>
>  
>
>------------------------------------------------------------------------
>
>**************************Disclaimer**************************************************
>    
> 
> Information contained in this E-MAIL being proprietary to Wipro Limited is 
>'privileged' 
>and 'confidential' and intended for use only by the individual or entity to which it 
>is 
>addressed. You are notified that any use, copying or dissemination of the information 
>contained in the E-MAIL in any manner whatsoever is strictly prohibited.
>
>****************************************************************************************
>
>
>
>  
>


_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to