59 |
import net.sf.juife.JuifeUtils; |
import net.sf.juife.JuifeUtils; |
60 |
import net.sf.juife.NavigationPage; |
import net.sf.juife.NavigationPage; |
61 |
|
|
|
import org.jsampler.CC; |
|
62 |
import org.jsampler.AudioDeviceModel; |
import org.jsampler.AudioDeviceModel; |
63 |
|
import org.jsampler.CC; |
64 |
|
import org.jsampler.HF; |
65 |
|
|
66 |
import org.jsampler.event.AudioDeviceEvent; |
import org.jsampler.event.AudioDeviceEvent; |
67 |
import org.jsampler.event.AudioDeviceListEvent; |
import org.jsampler.event.AudioDeviceListEvent; |
308 |
ImageIcon icon = new ImageIcon(url); |
ImageIcon icon = new ImageIcon(url); |
309 |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
310 |
putValue(Action.SMALL_ICON, icon); |
putValue(Action.SMALL_ICON, icon); |
311 |
} catch(Exception x) { CC.getLogger().log(Level.INFO, x.getMessage(), x); } |
} catch(Exception x) { |
312 |
|
CC.getLogger().log(Level.INFO, HF.getErrorMessage(x), x); |
313 |
|
} |
314 |
|
|
315 |
setEnabled(false); |
setEnabled(false); |
316 |
} |
} |
347 |
ImageIcon icon = new ImageIcon(url); |
ImageIcon icon = new ImageIcon(url); |
348 |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
349 |
putValue(Action.SMALL_ICON, icon); |
putValue(Action.SMALL_ICON, icon); |
350 |
} catch(Exception x) { CC.getLogger().log(Level.INFO, x.getMessage(), x); } |
} catch(Exception x) { |
351 |
|
CC.getLogger().log(Level.INFO, HF.getErrorMessage(x), x); |
352 |
|
} |
353 |
|
|
354 |
setEnabled(false); |
setEnabled(false); |
355 |
} |
} |
380 |
ImageIcon icon = new ImageIcon(url); |
ImageIcon icon = new ImageIcon(url); |
381 |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
if(icon.getImageLoadStatus() == MediaTracker.COMPLETE) |
382 |
putValue(Action.SMALL_ICON, icon); |
putValue(Action.SMALL_ICON, icon); |
383 |
} catch(Exception x) { CC.getLogger().log(Level.INFO, x.getMessage(), x); } |
} catch(Exception x) { |
384 |
|
CC.getLogger().log(Level.INFO, HF.getErrorMessage(x), x); |
385 |
|
} |
386 |
|
|
387 |
setEnabled(false); |
setEnabled(false); |
388 |
} |
} |