question: public ReplaceDialog ( JTextComponent text , FindReplaceActions finderActions ) { super ( ActionUtils . getFrameFor ( text ) , false ) ; initComponents ( ) ; registerKeyAction ( this ) ; textComponent = text ; finder = finderActions ; textComponent . addCaretListener ( this ) ; setLocationRelativeTo ( text . getRootPane ( ) ) ; }
target:  Creates new form FindDialog 