From: Hiroo H. <hir...@co...> - 2005-03-06 16:09:00
|
Hi, Thorsten> I noticed that the small images for waveforms and algorithms Thorsten> are not displayed in the MIDIbox FM editor when JSynthLib Thorsten> is started from the .jar file (java -jar JSynthLib-0.20.0.jar) Thorsten> Thorsten> They are displayed when I unpack the .jar and start JSynthLib Thorsten> with "java JSynthLib" I could find the method in trouble. But I guess the method open file directly (?). You have to open a file as DriverUtil.createNewPatch() does. InputStream fileIn = driver.getClass().getResourceAsStream(fileName); Don't ask me what this is. I just know this works. 'driver.getClass()' can be replace by 'this.getClass()' (or 'this.class'). # This must be documented in programming.html. Please try. FYI. You can create jar file by doing; jar cmf misc/mainClass xxx.jar @misc/MANIFEST -- Hiroo Hayashi |