private void set_curr_reader(get_settings settings){
		if(settings == null) return;
		session_language = null;
    	session_language = settings.get_last_lang();
    	session_meter = settings.get_last_meter();
    	if(session_meter > 0 && session_meter < 3)
			sel_reader.setSelectedIndex(session_meter-1);
		else
			sel_reader.setSelectedIndex(0);
    	
    	Reader_factory reader = settings.get_reader(session_meter);
    	
    	if(reader != null) {
    		reader_port.setText(reader.port);
    		user_id.setText(Integer.toString(reader.userid));
    		user_name.setText(settings.get_username(reader.userid));
    		DrawImage dimg = new DrawImage(reader.imagefile);
   		 	// create the image using the toolkit
    		panel_picture.removeAll();
	   		Dimension picdim = new Dimension(panel_picture.getWidth(),panel_picture.getHeight());
	   		dimg.setSize(picdim);
	   		dimg.setPreferredSize(picdim);
	   		panel_picture.add(dimg);
	   		repaint();
    	}
		
	}