implemented new JtPairPicker class to select two elements of a given type