public TabsPanel()

in src/org/pushingpixels/lightbeam/panels/TabsPanel.java [51:65]


	public TabsPanel(ComponentsFactory factory) {
		this.setLayout(new BorderLayout());

		this.tabbedPane = factory.createTabbedPane();
		Random seed = new Random(50);
		for (int i = 0; i < 20; i++) {
			int backgrColor = Color.HSBtoRGB(seed.nextFloat(), 0.4f, 0.8f);
			JPanel tab = new JPanel();
			tab.setBackground(new Color(backgrColor));
			this.tabbedPane
					.addTab("Tab " + i, IconManager.getRandomIcon(), tab);
		}

		this.add(this.tabbedPane, BorderLayout.CENTER);
	}