* Convenience class that "binds" a panel using the jriaffe bind framework. Some panels are nested inside the main
* panel and jriaffe does not handle binding them.
*/
public class BindUtility {
public static Binder bindPanel(JPanel panel) {
Binder aBinder = new Binder();
Binder.addBindMethodToClass(panel.getClass());
aBinder.setPanel(panel);
return aBinder;
}