jbackup/src/main/java/org/jbundle/jbackup/source/BaseSourcePropertyView.java
public void addControlsToView(JPanel panel)
	{
		panel.setLayout(new BorderLayout());
		JPanel panelMain = this.makeNewPanel(panel, BorderLayout.CENTER);
		
		panelMain.setLayout(new GridLayout(3, 2));

		panelMain.add(new JLabel("Last backup: ", JLabel.RIGHT));
		panelMain.add(m_tfDate = new JTextField());

		panelMain.add(new JLabel("Filter: ", JLabel.RIGHT));
		panelMain.add(m_tfFilter = new JTextField());

		panelMain.add(new JPanel());
		panelMain.add(m_cbIncremental = new JCheckBox("Incremental"));

		JPanel panelSub = this.makeNewPanel(panel, BorderLayout.SOUTH);
		super.addControlsToView(panelSub);
	}
public void addControlsToView(JPanel panel)
	{
		panel.setLayout(new BorderLayout());
		JPanel panelMain = this.makeNewPanel(panel, BorderLayout.CENTER);
		
		panelMain.setLayout(new GridLayout(3, 2));

		panelMain.add(new JLabel("Last backup: ", JLabel.RIGHT));
		panelMain.add(m_tfDate = new JTextField());

		panelMain.add(new JLabel("Filter: ", JLabel.RIGHT));
		panelMain.add(m_tfFilter = new JTextField());

		panelMain.add(new JPanel());
		panelMain.add(m_cbIncremental = new JCheckBox("Incremental"));

		JPanel panelSub = this.makeNewPanel(panel, BorderLayout.SOUTH);
		super.addControlsToView(panelSub);
	}
public void addControlsToView ( JPanel panel ) { panel . setLayout ( new BorderLayout ( ) ) ; JPanel panelMain = this . makeNewPanel ( panel , BorderLayout . CENTER ) ; panelMain . setLayout ( new GridLayout ( 3 , 2 ) ) ; panelMain . add ( new JLabel ( "Last backup: " , JLabel . RIGHT ) ) ; panelMain . add ( m_tfDate = new JTextField ( ) ) ; panelMain . add ( new JLabel ( "Filter: " , JLabel . RIGHT ) ) ; panelMain . add ( m_tfFilter = new JTextField ( ) ) ; panelMain . add ( new JPanel ( ) ) ; panelMain . add ( m_cbIncremental = new JCheckBox ( "Incremental" ) ) ; JPanel panelSub = this . makeNewPanel ( panel , BorderLayout . SOUTH ) ; super . addControlsToView ( panelSub ) ; }
/*
Add your property controls to this panel.
Remember to set your own layout manager.
Also, remember to create a new JPanel, and pass it to the super class
so controls of the superclass can be included.
You have a 3 x 3 grid, so add three columns for each control
@param panel This is the panel to add your controls to.
/ * Add your property controls to this panel . Remember to set your own layout manager . Also remember to create a new JPanel and pass it to the super class so controls of the superclass can be included . You have a 3 x 3 grid so add three columns for each control