question: opens a save dialog box when the user selects `` save as '' from the menu . concode_field_sep BufferedImage image concode_elem_sep String filename concode_elem_sep int width concode_elem_sep boolean isOriginUpperLeft concode_elem_sep JFrame frame concode_elem_sep int height concode_field_sep void set concode_elem_sep JLabel getJLabel concode_elem_sep int hashCode concode_elem_sep Color get concode_elem_sep boolean equals concode_elem_sep void show concode_elem_sep void save concode_elem_sep void save concode_elem_sep int width concode_elem_sep void main concode_elem_sep void setOriginUpperLeft concode_elem_sep void setOriginLowerLeft concode_elem_sep int height
target: void function ( ActionEvent arg0 ) { FileDialog loc0 = new FileDialog ( frame , "srini_string" , FileDialog . SAVE ) ; loc0 . setVisible ( true ) ; if ( loc0 . getFile ( ) != null ) { save ( loc0 . getDirectory ( ) + File . separator + loc0 . getFile ( ) ) ; } }