disabled some (almost) never used configuration options.

This commit is contained in:
fros4943 2008-10-03 13:54:27 +00:00
parent ca8d0905c8
commit 4db4a211bf

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: CreateSimDialog.java,v 1.10 2008/03/18 13:02:10 fros4943 Exp $ * $Id: CreateSimDialog.java,v 1.11 2008/10/03 13:54:27 fros4943 Exp $
*/ */
package se.sics.cooja.dialogs; package se.sics.cooja.dialogs;
@ -314,6 +314,7 @@ public class CreateSimDialog extends JDialog {
numberField = new JFormattedTextField(integerFormat); numberField = new JFormattedTextField(integerFormat);
numberField.setValue(new Integer(0)); numberField.setValue(new Integer(0));
numberField.setColumns(4); numberField.setColumns(4);
numberField.setEnabled(false); /* Disabled: Almost never used */
simulationTime = numberField; simulationTime = numberField;
horizBox.add(label); horizBox.add(label);
@ -334,6 +335,7 @@ public class CreateSimDialog extends JDialog {
numberField = new JFormattedTextField(integerFormat); numberField = new JFormattedTextField(integerFormat);
numberField.setValue(new Integer(1)); numberField.setValue(new Integer(1));
numberField.setColumns(4); numberField.setColumns(4);
numberField.setEnabled(false); /* Disabled: Almost never used */
tickTime = numberField; tickTime = numberField;
horizBox.add(label); horizBox.add(label);
@ -418,6 +420,7 @@ public class CreateSimDialog extends JDialog {
numberField = new JFormattedTextField(integerFormat); numberField = new JFormattedTextField(integerFormat);
numberField.setValue(new Integer(1)); numberField.setValue(new Integer(1));
numberField.setColumns(4); numberField.setColumns(4);
numberField.setEnabled(false); /* Disabled: Almost never used */
tickLists = numberField; tickLists = numberField;
horizBox.add(label); horizBox.add(label);