public BorderPanel (JComponent component, String title, boolean scroll) {
		this.setLayout(new BorderLayout(0, 0));

		this.setBorder(BorderFactory
				.createCompoundBorder(BorderFactory.createCompoundBorder(
				BorderFactory.createTitledBorder(title),
				BorderFactory.createEmptyBorder(5, 5, 5, 5)),
				component.getBorder()));

		if (scroll) {
			this.add(new JScrollPane(component), BorderLayout.CENTER);
		} else {
			this.add(component, BorderLayout.CENTER);
		}
	}