new mapping function in doctus swing component