public AnefodiasmoiAdd() {
		/* kartela prosthikis anefodiasmwn*/
		con = new Mysql();
		setTitle("Prosthiki Anefodiasmou"); //titlos para8yrou
		/* vgazei to para8uro sto kedro tis othonis me diastaseis 300x220 */
		Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
		this.setBounds(dim.width/2-150, dim.height/2-110, 300, 220);
		/*--------------*/
		this.setResizable(false);
		getContentPane().setBackground(Color.WHITE);
		getContentPane().setLayout(null);
		
		JLabel litraLabel = new JLabel("Litra:");
		litraLabel.setBounds(10, 11, 70, 14);
		getContentPane().add(litraLabel);
		
		
		litra = new JTextField();
		litra.setBounds(101, 8, 125, 20);
		getContentPane().add(litra);
		litra.setColumns(10);
		
		JLabel oximaL = new JLabel("Oxima:");
		oximaL.setBounds(10, 48, 46, 14);
		getContentPane().add(oximaL);
		
		oximataBox = new JComboBox<String>();
		oximataBox.setBounds(100, 48, 126, 20);
		getContentPane().add(oximataBox);
		addOximata(); //pairnei ta oximata apo thn vash kai ta vazei sthn dropdown lista oximataBox
		
		
		JButton saveButton = new JButton("Save");
		saveButton.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent arg0) {
				/* otan path8ei to koumpi pairnei tin timi pou exei mpei sta litra kanei elegxo an einai swsth
				 * kai epeita kalei thn function save(String litraV,String oximaV) kai apothikeuei ta stoixia sthn vash
				 */
				String litraValue=litra.getText(); //pairnei thn timi tou pedioi
				String oximaValue=oximataBox.getSelectedItem().toString(); //pairnei tin timi tis dropdown list
				if(checkData(litraValue)) //sunarthsh pou elegxei an einai egkurh h timi
					save(litraValue,oximaValue); //apothikeuei ta stoixia sthn vash
			}
		});
		saveButton.setBounds(101, 141, 125, 40);
		getContentPane().add(saveButton);
		
		
	}