// Configure furniture view
JComponent furnitureView = (JComponent)controller.getFurnitureController().getView();
if (furnitureView != null) {
// Set default traversal keys of furniture view
KeyboardFocusManager focusManager = KeyboardFocusManager.getCurrentKeyboardFocusManager();
furnitureView.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
focusManager.getDefaultFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS));
furnitureView.setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
focusManager.getDefaultFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS));
// Create furniture view popup menu
JPopupMenu furnitureViewPopup = new JPopupMenu();
addActionToPopupMenu(ActionType.UNDO, furnitureViewPopup);
addActionToPopupMenu(ActionType.REDO, furnitureViewPopup);