question: public void actionPerformed ( ActionEvent e ) { String retVal ; retVal = JOptionPane . showInputDialog ( FileScriptingPanel . this , "Please enter the command-line arguments" , Utils . joinOptions ( m_Args ) ) ; if ( retVal == null ) return ; try { m_Args = Utils . splitOptions ( retVal ) ; } catch ( Exception ex ) { m_Args = new String [ 0 ] ; ex . printStackTrace ( ) ; JOptionPane . showMessageDialog ( FileScriptingPanel . this , "Error setting command-line arguments:\n" + ex , "Error" , JOptionPane . ERROR_MESSAGE ) ; } }
target:  Fired when action got executed.