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

		panelMain.add(new JLabel("Log filename: ", JLabel.RIGHT));
		panelMain.add(m_tfLogFilename = new JTextField());

		panelMain.add(m_cbFileLength = new JCheckBox("Calc file length?"));

		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(1, 2));

		panelMain.add(new JLabel("Log filename: ", JLabel.RIGHT));
		panelMain.add(m_tfLogFilename = new JTextField());

		panelMain.add(m_cbFileLength = new JCheckBox("Calc file length?"));

		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 ( 1 , 2 ) ) ; panelMain . add ( new JLabel ( "Log filename: " , JLabel . RIGHT ) ) ; panelMain . add ( m_tfLogFilename = new JTextField ( ) ) ; panelMain . add ( m_cbFileLength = new JCheckBox ( "Calc file length?" ) ) ; 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