阅读背景:

如何在.jnlp文件中修复图像加载失败需要严重的@!d

来源:互联网 

Alright I have scoured the internet for day's trying to figure this problem out and I'm hoping someone here can help me, I wrote a simple TicTacToe game that has pane's inside a gridpane for the board. When you click on one of the pane's the Javafx program loads an image either x.jpg or o.jpg depending on who's turn it is. The program when ran from compiler works fine, when the .jar file is ran works fine....but when I run the .jnlp through the test .html file generated the panes register my mouse clicks but the images won't load...and if I try running it as stand alone It won't even register the mouse clicks it acts as though I didn't click anything...I even tried changing the path of the file to a uri and still the same problem. Like I said the .jar file runs fine just not the .jnlpAlright I have scoured the internet for day's t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: