public class SynthesizerSelector
extends java.lang.Object
Synthesizer names in a
dialog box. When the user makes a selection, the selected
SynthesizerModeDesc is returned to the caller.| Constructor and Description |
|---|
SynthesizerSelector() |
| Modifier and Type | Method and Description |
|---|---|
static SynthesizerModeDesc |
getSynthesizerModeDesc(java.awt.Component component,
java.lang.String appName)
Asks
Central for a list of available synthesizers. |
public static SynthesizerModeDesc getSynthesizerModeDesc(java.awt.Component component,
java.lang.String appName)
Central for a list of available synthesizers.
If there are none, returns null. If there is only
one, returns it. Otherwise, pops up an input dialog that gives
the user a choice.component - the component for JOptionPane.showInputDialogappName - the title for the input dialogSynthesizerModeDesc representing the
synthesizer to use.