2
0

Merge pull request #118 from joelsnape/master

Corrected conversion exception (from long to UnsignedInteger) on linux oracle and open jdk.
This commit is contained in:
Maarten Billemont 2016-10-29 07:55:36 -04:00 committed by GitHub
commit 77bb2ef4cd

View File

@ -119,7 +119,7 @@ public class PasswordFrame extends JFrame implements DocumentListener {
siteVersionField = Components.comboBox( MasterKey.Version.values() ), // siteVersionField = Components.comboBox( MasterKey.Version.values() ), //
Components.stud(), // Components.stud(), //
siteCounterField = Components.spinner( siteCounterField = Components.spinner(
new SpinnerNumberModel( 1L, 1L, UnsignedInteger.MAX_VALUE, 1L ) ) ); new SpinnerNumberModel( UnsignedInteger.ONE, UnsignedInteger.ONE, UnsignedInteger.MAX_VALUE, UnsignedInteger.ONE ) ) );
sitePanel.add( siteSettings ); sitePanel.add( siteSettings );
siteTypeField.setFont( Res.valueFont().deriveFont( 12f ) ); siteTypeField.setFont( Res.valueFont().deriveFont( 12f ) );
siteTypeField.setSelectedItem( MPSiteType.GeneratedLong ); siteTypeField.setSelectedItem( MPSiteType.GeneratedLong );