MatrixFrog / floodit

Automatically exported from code.google.com/p/floodit
0 stars 0 forks source link

Help and About are not working #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
something to do with the use of getResourceAsStream()?

Original issue reported on code.google.com by MatrixFrog on 9 Aug 2009 at 1:04

GoogleCodeExporter commented 9 years ago
getResourceAsStream() does two different things depending on the class loader. 
apparently the class loader used by eclipse is different than the one that gets 
used 
when you run from the .jar -- switching to 
ClassLoader.getSystemResourceAsStream() 
fixed it, even if it's a little inelegant.

Original comment by MatrixFrog on 14 Aug 2009 at 1:21