question: private JPanel createImageFilePanel ( ) { JPanel panel = new JPanel ( ) ; panel . setLayout ( new BoxLayout ( panel , BoxLayout . X_AXIS ) ) ; panel . add ( imageFileName ) ; panel . add ( Box . createHorizontalStrut ( 6 ) ) ; panel . add ( new JButton ( openImageFile ) ) ; return panel ; }
target:  Create and return the image file panel.