Java deadline with contentfilter example