FieldPanel (@NlsContexts.Label String labelText, @NlsContexts.DialogTitle String viewerDialogTitle, ActionListener browseButtonActionListener, Runnable documentListener) { FieldPanel fieldPanel = create(labelText, viewerDialogTitle, browseButtonActionListener, documentListener); InsertPathAction.addTo(fieldPanel.myTextField); return fieldPanel; }