return new World(gravity, new DefaultWorldPool(100, 40), new BroadPhaseJNI());
}
});
final TestbedController controller =
new TestbedController(model, UpdateBehavior.UPDATE_CALLED, MouseBehavior.NORMAL,
new TestbedErrorHandler() {
@Override
public void serializationError(Exception e, String message) {
JOptionPane.showMessageDialog(null, message, "Serialization Error",
JOptionPane.ERROR_MESSAGE);
}