implemented test timeline with slider (java swing)