public void configureUI() {
		ArrayList<Integer> previousBundle = null;
		ArrayList<Integer> nextBundle = null;
		boolean first = true;
		Float[] keys = Database.BUNDLES.keySet().toArray(
				new Float[Database.BUNDLES.size()]);
		int maxBundleSize = 0;
		int i = 0;
		for (ArrayList<Integer> bundle : Database.BUNDLES.values()) {
			JPanel bundles = new JPanel();
			bundles.setLayout(new GridLayout(0, 1));
			if (i > 0)
				previousBundle = Database.BUNDLES.get(keys[i - 1]);
			if (i + 1 < keys.length - 1)
				nextBundle = Database.BUNDLES.get(keys[i + 1]);

			if (first) {
				first = false;
			}
			bundles.add(new JButton("" + bundle.size()));
			for (int id : bundle) {
				JButton tickerButton = new JButton(Database.dbSet.get(id) + " "
						+ id);
				tickerButton.addActionListener(this);

				bundles.add(tickerButton);
				if (previousBundle == null || !previousBundle.contains(id))
					tickerButton.setBackground(Color.green);
				if (!nextBundle.contains(id))
					tickerButton.setBackground(Color.red);
			}
			if (bundle.size() > maxBundleSize)
				maxBundleSize = bundle.size();
			// JScrollPane scroller = new JScrollPane(bundles);
			buttons.add(bundles);
			i++;
		}

		buttons.setSize(100 * keys.length, 20 * maxBundleSize);
		// frame.repaint();
		frame.setVisible(true);
	}