public void eventMenuFileOpen() {
    int  proceed = JOptionPane.YES_OPTION;
    JFileChooser chooser;
    int  result;
    File selectedFile;
    
    if ( Data.getInventoryChanged() ) {
      proceed = JOptionPane.showConfirmDialog( Data.getView(), 
                                               Data.CHANGED_MSG, 
                                               Data.CONFIRM_TITLE, 
                                               JOptionPane.YES_NO_OPTION );
    } // if
    
    if ( proceed == JOptionPane.YES_OPTION ) {
      chooser = new JFileChooser();
      chooser.setFileFilter( new FileNameExtensionFilter( "Inventory files", "xml" ) );
      chooser.setCurrentDirectory( new File( Data.BUILDARIA_DIR ) );

      result = chooser.showOpenDialog( Data.getView() );
      if ( result == JFileChooser.APPROVE_OPTION ) {
        selectedFile = chooser.getSelectedFile();
        openFile( selectedFile );
      } // if
    } // if

  } // eventMenuFileOpen -------------------------------------------------------