# HG changeset patch # User Daniele Nicolodi # Date 1323194847 -3600 # Node ID dd93c9ba66242efb9b5e8efd1f88f2b099749211 # Parent ca0b8d4dcdb6d8f907e1932b74f8d455413429d6 Fix Java dialog diff -r ca0b8d4dcdb6 -r dd93c9ba6624 src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.form --- a/src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.form Tue Dec 06 19:07:27 2011 +0100 +++ b/src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.form Tue Dec 06 19:07:27 2011 +0100 @@ -38,16 +38,16 @@ + + + + + - - - - - @@ -71,18 +71,12 @@ - - - - - - - - - - - + + + + + diff -r ca0b8d4dcdb6 -r dd93c9ba6624 src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.java --- a/src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.java Tue Dec 06 19:07:27 2011 +0100 +++ b/src/MPipeline2/src/mpipeline/ltpdapreferences/RepositoryDialog.java Tue Dec 06 19:07:27 2011 +0100 @@ -100,14 +100,14 @@ .add(jLabel10) .add(21, 21, 21) .add(databaseCombo, 0, 240, Short.MAX_VALUE)) + .add(layout.createSequentialGroup() + .add(jLabel11) + .add(18, 18, 18) + .add(usernameCombo, 0, 240, Short.MAX_VALUE)) .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() .add(cancelButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) - .add(okButton)) - .add(layout.createSequentialGroup() - .add(jLabel11) - .add(18, 18, 18) - .add(usernameCombo, 0, 240, Short.MAX_VALUE))) + .add(okButton))) .addContainerGap()) ); layout.setVerticalGroup( @@ -125,15 +125,11 @@ .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel11) .add(usernameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) - .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(layout.createSequentialGroup() - .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 12, Short.MAX_VALUE) - .add(okButton) - .addContainerGap()) - .add(layout.createSequentialGroup() - .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) - .add(cancelButton) - .addContainerGap()))) + .add(12, 12, 12) + .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) + .add(cancelButton) + .add(okButton)) + .addContainerGap()) ); pack();