public static void initView(JToolBar toolbar,
			final BuilderController controller) {
		toolbar.add(new JButton(new TooltipAction("Hint",
				"Adds one transition.") {
			public void actionPerformed(ActionEvent e) {
				controller.hint();
			}
		}));

		toolbar.add(new JButton(new TooltipAction("Complete",
				"Adds all transitions.") {
			public void actionPerformed(ActionEvent e) {
				controller.complete();
			}
		}));

		toolbar.add(new JButton(new TooltipAction("Done?",
				"Checks if the automaton is done.") {
			public void actionPerformed(ActionEvent e) {
				controller.done();
			}
		}));
	}