Locale.setDefault(Locale.FRANCE);
this.preferences = new DefaultUserPreferences();
ViewFactory viewFactory = new SwingViewFactory();
UndoableEditSupport undoSupport = new UndoableEditSupport();
final UndoManager undoManager = new UndoManager();
undoSupport.addUndoableEditListener(undoManager);
this.planController = new PlanController(this.home, this.preferences, viewFactory, null, undoSupport);
// Add plan component to frame at its preferred size
add(new JScrollPane((JComponent)this.planController.getView()));
// Create a toggle button for plan component mode
this.modeButton = new JToggleButton(new ImageIcon(