Using generalpath from java.awt as currentpath try#1