Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ignore] Adding unit MB in the launcher configuration dialog to make …

…it clear what the unit is. Synced form and java.
  • Loading branch information...
commit 877726f6891f6dfbcb9c8fc7b68c96df04c3c86d 1 parent c105757
@ljo ljo authored
View
6 src/org/exist/launcher/ConfigurationDialog.form
@@ -160,7 +160,7 @@
<Component class="javax.swing.JSpinner" name="collectionCache">
<Properties>
<Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
- <SpinnerModel initial="48" maximum="256" minimum="16" numberType="java.lang.Integer" stepSize="16" type="number"/>
+ <SpinnerModel initial="48" maximum="256" minimum="48" numberType="java.lang.Integer" stepSize="16" type="number"/>
</Property>
</Properties>
<Events>
@@ -187,7 +187,7 @@
</Component>
<Component class="javax.swing.JLabel" name="lbCurrentUsage">
<Properties>
- <Property name="text" type="java.lang.String" value="Memory usage:"/>
+ <Property name="text" type="java.lang.String" value="Memory usage (in MB):"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
@@ -264,7 +264,7 @@
</Component>
<Component class="javax.swing.JLabel" name="jLabel11">
<Properties>
- <Property name="text" type="java.lang.String" value="&lt;html&gt;&lt;p&gt;Total cache size should not exceed 1/3 of max memory unless you have more than 2gb available.&lt;/p&gt;&lt;/html&gt;"/>
+ <Property name="text" type="java.lang.String" value="&lt;html&gt;&lt;p&gt;Total cache size should not exceed 1/3 of max memory unless you have more than 2GB available. These sizes are in megabytes.&lt;/p&gt;&lt;/html&gt;"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[280, 48]"/>
</Property>
View
4 src/org/exist/launcher/ConfigurationDialog.java
@@ -267,7 +267,7 @@ public void stateChanged(javax.swing.event.ChangeEvent evt) {
gridBagConstraints.insets = new java.awt.Insets(0, 13, 0, 22);
getContentPane().add(jLabel8, gridBagConstraints);
- lbCurrentUsage.setText("Memory usage:");
+ lbCurrentUsage.setText("Memory usage (in MB):");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
@@ -326,7 +326,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.insets = new java.awt.Insets(0, 22, 0, 0);
getContentPane().add(dataDir, gridBagConstraints);
- jLabel11.setText("<html><p>Total cache size should not exceed 1/3 of max memory unless you have more than 2gb available.</p></html>");
+ jLabel11.setText("<html><p>Total cache size should not exceed 1/3 of max memory unless you have more than 2GB available. These sizes are in megabytes.</p></html>");
jLabel11.setPreferredSize(new java.awt.Dimension(280, 48));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
Please sign in to comment.
Something went wrong with that request. Please try again.