clear();
}
private KeyedComboBoxModel loadEpson24Printers()
{
final KeyedComboBoxModel epsonPrinters = new KeyedComboBoxModel();
final PrinterSpecificationManager spec24Manager =
Epson24PinPrinterDriver.loadSpecificationManager();
final String[] printer24Names =
spec24Manager.getPrinterNames();
Arrays.sort(printer24Names);
for (int i = 0; i < printer24Names.length; i++)
{
final PrinterSpecification pspec = spec24Manager.getPrinter(
printer24Names[i]);
epsonPrinters.add(pspec, pspec.getDisplayName());
}
return epsonPrinters;
}