From: Hiroo H. <hir...@co...> - 2005-03-06 23:57:52
|
Thorsten> > It's actually very easy, Java already has the hooks. For MIDIboxFM, Thorsten> > you'd use: Thorsten> > algIcon[0]=new Thorsten> > ImageIcon(MIDIboxFMDevice.class.getResource("images/alg_0.gif")); Thorsten> > Thorsten> > You can use device.getClass() instead if you want. I prefer algIcon[0] = new ImageIcon(getClass().getResource("images/alg_0.gif")); because it is shorter. I've updated programming.html and YamahaTX81zSingleEditor.java which is refereed by programming.html. Thorsten> I've commited the changes - can anybody tell me how I can bring this Thorsten> also into the the branch_0_20 (I'm not too lazy for reading the docs, I Thorsten> just don't want to make anything wrong ;-) I'll take care of branch_0_20. Could anyone volunteer to fix other synthdrivers? Thanks. -- Hiroo Hayashi |