javalover520 / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

Find Dialog Hidden When In Modal Dialog #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Create a modal dialog class with the editor pane in it.
2.  Show the dialog.
3.  User the find action.

What is the expected output? What do you see instead?

I should see the find dialog.  The find dialog shows, but is shown behind
the modal dialog.

What version of the product are you using? On what operating system?

0.9.5 on Windows XP

Please provide any additional information below.

The find dialog flashes momentarily and then gets moved to the background.
 I am guessing this is because is is not a modal dialog and the modal
dialog that contains the editor pane is.  Not sure what the solution is
other than giving an option to make the find dialog modal itself.  I
realize you might not always want the find dialog to be modal, but in this
scenario its the only way it would work I think.

Original issue reported on code.google.com by mmacfad...@gmail.com on 7 Dec 2009 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by mr.rob.p...@gmail.com on 7 Feb 2010 at 4:30

GoogleCodeExporter commented 9 years ago
Hi, is it possible to implement setting Editors Dialogs ModalityType by 
property or method ?

setModalityType(java.awt.Dialog.ModalityType.APPLICATION_MODAL);

this way it should be easy to configure for modal and non modal.

Thks

Original comment by ribeiro...@gmail.com on 11 Oct 2010 at 8:24