Is it possible to have your computer hacked if you allow a java application to run on your computer.
Reason for asking is that i allowed a java application to run on my computer the other day, just once, in order to watch a runescape related stream (yes incredibly stupid i know) but anyways, my computer was hacked, they forced my computer to shutdown after repeatedly blacking out my runescape page and took all my stoofs, now the problem isnt my runescape stuff, its just pixels no worries there, but the real concern for me is the the overall security of my computer.
Basically i want to know whether it is possible to have had a keylogger or trojan etc. placed on my computer via java?