removed popupmenu

i decided to remove the popupmenu. it introduces an undesired dependency
on java8 which some institutions may not have installed.