locationPanel.add(album,   new GridBagConstraints(0, 4, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0)); locationPanel.add(jAlbum,    new GridBagConstraints(1, 4, 1, 1, 1.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
	private void jbInit() {		Vector locationItems = new Vector();		locationItems.add(new LocationItem(0));		locationItems.add(new LocationItem(10 + SwingConstants.LEFT));		locationItems.add(new LocationItem(10 + SwingConstants.CENTER));		locationItems.add(new LocationItem(10 + SwingConstants.RIGHT));		locationItems.add(new LocationItem(20 + SwingConstants.LEFT));		locationItems.add(new LocationItem(20 + SwingConstants.CENTER));		locationItems.add(new LocationItem(20 + SwingConstants.RIGHT));		locationItems.add(new LocationItem(30 + SwingConstants.LEFT));		locationItems.add(new LocationItem(30 + SwingConstants.CENTER));		locationItems.add(new LocationItem(30 + SwingConstants.RIGHT));		jProgress = new JComboBox(locationItems);		jCaption = new JComboBox(locationItems);		jExtra = new JComboBox(locationItems);		jUrl = new JComboBox(locationItems);		setLayout(new GridBagLayout());		progressionPanel.setLayout(new GridBagLayout());		/*progressionPanel.setBorder(				new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140)),						GRI18n.getString(MODULE, "progressionTitle")));*/		locationPanel.setLayout(new GridBagLayout());		locationPanel.setBorder(				new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140)),						GRI18n.getString(MODULE, "locationTitle")));		apperancePanel.setLayout(new GridBagLayout());		/*apperancePanel.setBorder(				new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140)),						GRI18n.getString(MODULE, "appearanceTitle")));*/		delay.setText(GRI18n.getString(MODULE, "delay"));		delay.setLabelFor(jDelay);		delay.setToolTipText(GRI18n.getString(MODULE, "delayHelp"));		jDelay.setMinimum(0);		jDelay.setMaximum(30000);		Hashtable ticks = new Hashtable(4);		ticks.put(new Integer(0), new JLabel(GRI18n.getString(MODULE, "delayNone")));		ticks.put(new Integer(5000), new JLabel("5s"));		ticks.put(new Integer(10000), new JLabel("10s"));		ticks.put(new Integer(30000), new JLabel("30s"));		jDelay.setLabelTable(ticks);		jDelay.setPaintLabels(true);		jDelay.setMajorTickSpacing(5000);		jDelay.setPaintTicks(true);		transition.setText(GRI18n.getString(MODULE, "transition"));		transition.setLabelFor(jTransition);		transition.setToolTipText(GRI18n.getString(MODULE, "transitionHelp"));		jTransition.setMinimum(0);		jTransition.setMaximum(5000);		ticks = new Hashtable(4);		ticks.put(new Integer(0), new JLabel(GRI18n.getString(MODULE, "transitionNone")));		ticks.put(new Integer(1000), new JLabel("1s"));		ticks.put(new Integer(2000), new JLabel("2s"));		ticks.put(new Integer(5000), new JLabel("5s"));		jTransition.setLabelTable(ticks);		jTransition.setPaintLabels(true);		jTransition.setMajorTickSpacing(1000);		jTransition.setPaintTicks(true);		help.setText(GRI18n.getString(MODULE, "delayDesc"));		jRandom.setText(GRI18n.getString(MODULE, "random"));		jRandom.setToolTipText(GRI18n.getString(MODULE, "randomHelp"));		jNoStretch.setText(GRI18n.getString(MODULE, "noStretch"));		jNoStretch.setToolTipText(GRI18n.getString(MODULE, "noStretchHelp"));		jPreloadAll.setText(GRI18n.getString(MODULE, "preloadAll"));		jPreloadAll.setToolTipText(GRI18n.getString(MODULE, "preloadAllHelp"));		jLoop.setText(GRI18n.getString(MODULE, "loop"));		jLoop.setToolTipText(GRI18n.getString(MODULE, "loopHelp"));		progress.setText(GRI18n.getString(MODULE, "progress"));		progress.setLabelFor(jProgress);		progress.setToolTipText(GRI18n.getString(MODULE, "progressHelp"));		caption.setText(GRI18n.getString(MODULE, "caption"));		caption.setLabelFor(jCaption);		caption.setToolTipText(GRI18n.getString(MODULE, "captionHelp"));		extra.setText(GRI18n.getString(MODULE, "extra"));		extra.setLabelFor(jExtra);		extra.setToolTipText(GRI18n.getString(MODULE, "extraHelp"));		url.setText(GRI18n.getString(MODULE, "url"));		url.setLabelFor(jUrl);		url.setToolTipText(GRI18n.getString(MODULE, "urlHelp"));		jLowRez.setText(GRI18n.getString(MODULE, "lowRez"));		jLowRez.setToolTipText(GRI18n.getString(MODULE, "lowRezHelp"));		jOverride.setText(GRI18n.getString(MODULE, "backgroundColor"));		this.add(tabs,    new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0				,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		tabs.add(GRI18n.getString(MODULE, "progressionTitle"), progressionPanel);		tabs.add(GRI18n.getString(MODULE, "appearanceTitle"), apperancePanel);		/*this.add(progressionPanel,    new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		this.add(locationPanel,     new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		this.add(apperancePanel,     new GridBagConstraints(0, 2, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));*/		this.add(help,   new GridBagConstraints(0, 3, 2, 1, 0.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 0), 0, 0));		this.add(spacerPanel,    new GridBagConstraints(0, GridBagConstraints.REMAINDER, 1, 1, 1.0, 1.0				,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(delay,   new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		progressionPanel.add(jDelay,   new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(transition,   new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		progressionPanel.add(jTransition,   new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(jRandom,   new GridBagConstraints(0, 2, 2, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(jPreloadAll,   new GridBagConstraints(0, 3, 2, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(jLoop,   new GridBagConstraints(0, 4, 2, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));		progressionPanel.add(new JPanel(),   new GridBagConstraints(0, 5, 2, 1, 0.0, 1.0				,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		apperancePanel.add(jLowRez,  new GridBagConstraints(0, 0, 2, 1, 1.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		apperancePanel.add(jNoStretch,  new GridBagConstraints(0, 1, 2, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		apperancePanel.add(jOverride,  new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));		apperancePanel.add(jBackgroundColor,  new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 5, 0, 0), 0, 0));		apperancePanel.add(locationPanel,  new GridBagConstraints(0, 3, 2, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 0), 0, 0));		apperancePanel.add(new JPanel(),   new GridBagConstraints(0, 4, 2, 1, 0.0, 1.0				,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		locationPanel.add(progress,     new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		locationPanel.add(jProgress,       new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		locationPanel.add(caption,     new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		locationPanel.add(jCaption,      new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		locationPanel.add(extra,    new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		locationPanel.add(url,   new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0				,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));		locationPanel.add(jExtra,    new GridBagConstraints(1, 2, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		locationPanel.add(jUrl,    new GridBagConstraints(1, 3, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));	}