src/TestUnit/Example/Tree/JOutlookBar.java
@SuppressWarnings("unchecked")
	public void addBar(String name, JComponent component) {
		BarInfo barInfo = new BarInfo(name, component);
		barInfo.getButton().addActionListener(this);
		this.bars.put(name, barInfo);
		render();
	}
/**
	 * Adds the specified component to the JOutlookBar and sets the bar's name
	 * 
	 * @param name
	 *            The name of the outlook bar
	 * @param componenet
	 *            The component to add to the bar
	 */
Adds the specified component to the JOutlookBar and sets the bar's name

@param name
The name of the outlook bar
@param componenet
The component to add to the bar
Adds the specified component to the JOutlookBar and sets the bar ' s name @param name The name of the outlook bar @param componenet The component to add to the bar
@SuppressWarnings("unchecked")
	public void addBar(String name, JComponent component) {
		BarInfo barInfo = new BarInfo(name, component);
		barInfo.getButton().addActionListener(this);
		this.bars.put(name, barInfo);
		render();
	}
@ SuppressWarnings ( "unchecked" ) public void addBar ( String name , JComponent component ) { BarInfo barInfo = new BarInfo ( name , component ) ; barInfo . getButton ( ) . addActionListener ( this ) ; this . bars . put ( name , barInfo ) ; render ( ) ; }
Adds the specified component to the JOutlookBar and sets the bar's name
Adds the specified component to the JOutlookBar and sets the bar ' s name