JButton makeBtn(String text, String icon, String tooltip) {
		JButton newBtn;
		try {
			newBtn = new JButton(new ImageIcon(getClass().getResource(icon)));
		} catch (Exception e) {
			newBtn = new JButton(text);
		}
		newBtn.setToolTipText(tooltip);
		newBtn.addActionListener(this);
		if (borderedButtons) {
			newBtn.setBorder(new LineBorder(Color.gray, 1, false));
		} else if (compactToolbars) {
			newBtn.setBorder(new EmptyBorder(0, 0, 0, 0));
		}
		// newBtn.setBorderPainted(false);
		return newBtn;
	}