void setTicks(){ 
    	 this.tickPositions = new ArrayList <Float>();
    	 int intervalSize = this.sliderWidth/this.numLabels; //Size in between ticks
    	 
    	 for (int i=0;i<this.numLabels;i++){
    		 this.tickPositions.add((float) (i*intervalSize+intervalSize+this.xPos));
    	 }
     }