just a very rough version of the detail table. commented the tooltip listener code