public JToolBar setOptionsBar()
	{
		JToolBar optionsBar = new JToolBar();
		final JComboBox<String> dotted = new JComboBox<String>();
		
		if(line == null)
		{
			dotted.addItem("Line");
			dotted.addItem("Dotted");
		}
		else
		{
			dotted.addItem("Dotted");
			dotted.addItem("Line");
		}
		
		
		dotted.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				
				if("Line".equals(dotted.getSelectedItem()))
				{
					line = null;
				}
				if("Dotted".equals(dotted.getSelectedItem()))
				{
					line = new BasicStroke(1.0f, BasicStroke.CAP_BUTT,BasicStroke.JOIN_BEVEL,1.0f,new float[]{5.0f},0.0f);
				}
				
			}
		});
		
		optionsBar.add(dotted);
	
		optionsBar.add(new JSeparator());
		optionsBar.setFloatable(false);
		return optionsBar;
	}