Fix combobox infer
This commit is contained in:
parent
5174eebb3a
commit
64b2b9a40e
@ -78,13 +78,13 @@ public class PrintSettingsDialog extends JDialog {
|
||||
|
||||
|
||||
|
||||
final JComboBox<PaperSize> sizeCombo = new JComboBox<>(new EnumModel<>(settings, "PaperSize"));
|
||||
final JComboBox<PaperSize> sizeCombo = new JComboBox<>(new EnumModel<PaperSize>(settings, "PaperSize"));
|
||||
////Paper size:
|
||||
panel.add(new JLabel(trans.get("lbl.Papersize")));
|
||||
panel.add( sizeCombo, "growx, wrap para");
|
||||
|
||||
|
||||
final JComboBox<PaperOrientation> orientCombo = new JComboBox<>(new EnumModel<>(settings, "PaperOrientation"));
|
||||
final JComboBox<PaperOrientation> orientCombo = new JComboBox<>(new EnumModel<PaperOrientation>(settings, "PaperOrientation"));
|
||||
//// Paper orientation:
|
||||
panel.add(new JLabel(trans.get("lbl.Paperorientation")));
|
||||
panel.add( orientCombo, "growx, wrap para*2");
|
||||
|
@ -78,7 +78,7 @@ public class SeparationSelectionDialog extends JDialog {
|
||||
overrideButton.setSelected(true);
|
||||
}
|
||||
|
||||
final JComboBox<SeparationEvent> event = new JComboBox<>(new EnumModel<>(newConfiguration, "SeparationEvent"));
|
||||
final JComboBox<SeparationEvent> event = new JComboBox<>(new EnumModel<SeparationEvent>(newConfiguration, "SeparationEvent"));
|
||||
event.setSelectedItem(newConfiguration.getSeparationEvent());
|
||||
panel.add(event, "wrap rel");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user