It's an issue with java 8 and not windows 8.1. I had the same issue on different operating systems which had multiple graphic rendering chips and java 8 installed (i mean hardware systems with onboard graphic chip e.g. intel hd, and normal graphic chip e.g. nvidia)
just fall back to java 7 and this issue will be resolved
EDIT.: or start your java application explicit with the normal graphic chip