awecz / jsyntaxpane

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

Internal dialogs get wrong parent window #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Internal dialogs get wrong parent window if JEditorPane is added to another 
Dialog instead of Frame. In this case ActionUtils.getFrameFor() returns null 
and all dialogs calling this method from the constructor get Desktop as their 
parent. And in the case the dialog the JEditorPane is added to is modal, they 
even can not be properly accessed or closed.

Because I use your code in my freeplane I fixed this problem and created 
patches for both r096 and r095_jdk5.

Could you please integrate the patches in your code?

Kind regards,
Dimitry Polivaev

Original issue reported on code.google.com by DimitryP...@googlemail.com on 7 Nov 2010 at 11:04

Attachments:

GoogleCodeExporter commented 8 years ago
There seem to be lots of duplication of code for each internal dialog.  Let me 
have another look.

Original comment by ayman.al...@gmail.com on 8 Nov 2010 at 5:22

GoogleCodeExporter commented 8 years ago
Fixed in r147

Original comment by ayman.al...@gmail.com on 8 Nov 2010 at 7:00