jbackup/src/main/java/org/jbundle/jbackup/JBackup.java
public void actionPerformed(ActionEvent e)
	{
		if (e.getSource() == m_buttonGo)
		{
			Scanner scanner = new Scanner(m_properties);	// Fit them on floppys
			progressBar.setIndeterminate(true);		// For now
			scanner.run();
			progressBar.setIndeterminate(false);
			
			AppUtilities.writeProperties(m_strFileName, m_properties);
		}
		if (e.getSource() == m_buttonSave)
		{
			AppUtilities.writeProperties(m_strFileName, m_properties);
		}
	}
public void actionPerformed(ActionEvent e)
	{
		if (e.getSource() == m_buttonGo)
		{
			Scanner scanner = new Scanner(m_properties);	// Fit them on floppys
			progressBar.setIndeterminate(true);		// For now
			scanner.run();
			progressBar.setIndeterminate(false);
			
			AppUtilities.writeProperties(m_strFileName, m_properties);
		}
		if (e.getSource() == m_buttonSave)
		{
			AppUtilities.writeProperties(m_strFileName, m_properties);
		}
	}
public void actionPerformed ( ActionEvent e ) { if ( e . getSource ( ) == m_buttonGo ) { Scanner scanner = new Scanner ( m_properties ) ; // Fit them on floppys progressBar . setIndeterminate ( true ) ; // For now scanner . run ( ) ; progressBar . setIndeterminate ( false ) ; AppUtilities . writeProperties ( m_strFileName , m_properties ) ; } if ( e . getSource ( ) == m_buttonSave ) { AppUtilities . writeProperties ( m_strFileName , m_properties ) ; } }
/*
User pressed a button.
/ * User pressed a button .