--- jsampler/trunk/src/org/jsampler/MidiInstrument.java 2011/11/23 18:58:46 2287 +++ jsampler/trunk/src/org/jsampler/MidiInstrument.java 2011/11/23 21:19:44 2288 @@ -23,7 +23,8 @@ package org.jsampler; import java.util.Vector; -import javax.swing.SwingUtilities; + +import net.sf.juife.PDUtils; import org.linuxsampler.lscp.MidiInstrumentInfo; @@ -154,7 +155,7 @@ fireInfoChanged() { final MidiInstrumentEvent e = new MidiInstrumentEvent(this); - SwingUtilities.invokeLater(new Runnable() { + PDUtils.runOnUiThread(new Runnable() { public void run() { fireInfoChanged(e); } });