messages = new Messages(Locale.getDefault(), PlainTextExportGUIModule.BUNDLE_NAME,
ObjectUtilities.getClassLoader(PlainTextExportGUIModule.class));
epson9Printers = loadEpson9Printers();
epson24Printers = loadEpson24Printers();
cbEpson9PrinterType = new JComboBox(epson9Printers);
cbEpson9PrinterType.addActionListener(new SelectEpsonModelAction());
cbEpson24PrinterType = new JComboBox(epson24Printers);
cbEpson24PrinterType.addActionListener(new SelectEpsonModelAction());
statusBar = new JStatusBar();
final Float[] lpiModel = {
PlainTextExportDialog.LPI_6,
PlainTextExportDialog.LPI_10
};
final Float[] cpiModel = {
PlainTextExportDialog.CPI_10,
PlainTextExportDialog.CPI_12,
PlainTextExportDialog.CPI_15,
PlainTextExportDialog.CPI_17,
PlainTextExportDialog.CPI_20
};
cbLinesPerInch = new JComboBox(new DefaultComboBoxModel(lpiModel));
cbCharsPerInch = new JComboBox(new DefaultComboBoxModel(cpiModel));
final String plainPrinterName = getResources().getString(
PlainTextExportDialog.PRINTER_NAMES[PlainTextExportDialog.TYPE_PLAIN_OUTPUT]);
final String epson9PrinterName = getResources().getString(
PlainTextExportDialog.PRINTER_NAMES[PlainTextExportDialog.TYPE_EPSON9_OUTPUT]);