JLabel current = new JLabel("Current T: "); current.setForeground(NavigationPalette.STEELBLUE); field.add(current); field.add(tField); field.setAlignmentX(LEFT_ALIGNMENT); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(field); p.add(slider); return p;
return slider;
	private JPanel buildSliderPanel()	{		JPanel p = new JPanel(), field = new JPanel(), slider = new JPanel();		slider.setLayout(null);		slider.setOpaque(false);  		slider.setPreferredSize(DIM);  		slider.setSize(DIM);  		tSlider.setPreferredSize(DIM);  		tSlider.setBounds(0, 0, PANEL_WIDTH, PANEL_HEIGHT);  		slider.add(tSlider);  		JLabel current = new JLabel("Current T: ");  		current.setForeground(NavigationPalette.STEELBLUE);  		field.add(current);  		field.add(tField);  		field.setAlignmentX(LEFT_ALIGNMENT);  		p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS));  		p.add(field); 		p.add(slider);  		return p;	}