At least the copy to clipboard things works very well in my Windows, it’s only a cosmetic anyway
Developers (GTGE users) can change it easily to make their custom error notification stuff, perhaps directly send the error to their mail.
[quote]Can’t help. GTGE seems to wait a few seconds and then terminates the JVM?
[/quote]
Nope, it will terminate the JVM if only the error notification dialog is not focused.
To copy the exception manually, why not select the JTextArea manually and copy it with Ctrl+C
[quote]i am totally at a loss on the 800x100 bug… i am telling the library to change to the selected resolution… I am not sure whether the library even works on linux… maybe role can help us here…
[/quote]
GTGE works fine in Linux and MacOS X, many tester that have tried in Linux, MacOS X and got no problem. Ummm MacOS users have a slight problem, but not too worrying.
[quote]so far no one has been able to give me any suggestions as to why you get that message saying you cannot join a multicast group.
[/quote]
Too bad, I really want to try it with my friends at work.
Hope you can fix it immediatelly.
[quote] java.lang.RuntimeException: ERROR: getURL (mode=Working-Directory) from: D:\temp
\temp\file:/D:/temp/temp/AnacondaWebstart.jar!/data/graphics/titleimage. jpg
[/quote]
Guess the exception is quite clear, the titleimage.jpg can’t be found from… urgh what path is that!?
See the mode (mode=Working-Directory), you still using Working-Directory.
For JAR, you should use either BaseIO.CLASS_URL or BaseIO.CLASS_LOADER, CLASS_URL is the default one, and I use it all for my webstart game.
BaseIO.WORKING_DIRECTORY can’t be used, because now the resources is inside the executable JAR.
To get image simply use: getImage(“data/graphics/xxx.png”); No need fancy things.
This is I used for all my webstart game, and it works in Windows, Linux, and MacOS without problem.
For URL, use bsIO.getURL(“data/graphics/xxx.png”); it returns the URL of the xxx.png
And bsIO.getStream(…) to return the InputStream.
GTGE is very simple to use, you make it complicate by yourself.
And remember, the resources (images/sounds/etc) now must be INSIDE THE JAR and relatively to the game main-class.
So if the game main-class packaging: com.game.MainClass
And you get the images with getImage(“data/graphics/xxx.png”); the xxx.png must be in com/game/data/graphics/xxx.png and inside the JAR.