Update Trajectory.java

add the function "paintInterpolatedwithIDs"