summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2007-02-06 16:55:17 +0000
committerJani Laakso <jani.laakso@itmill.com>2007-02-06 16:55:17 +0000
commit90ff5beedd0f9b5758c4ce96c753da51e22b9efb (patch)
treeb989489d603d820078149e970a83d72405d5c643 /src
parentb2117f4ed3d18f99b03457d3422260c8d3f4fd7a (diff)
downloadvaadin-framework-90ff5beedd0f9b5758c4ce96c753da51e22b9efb.tar.gz
vaadin-framework-90ff5beedd0f9b5758c4ce96c753da51e22b9efb.zip
Reduced item count on selet from 1000 to 50. Faster UI experience.
svn changeset:485/svn branch:toolkit
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureSelect.java b/src/com/itmill/toolkit/demo/features/FeatureSelect.java
index 171abd1723..aa13823be8 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureSelect.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureSelect.java
@@ -51,7 +51,7 @@ public class FeatureSelect extends Feature {
OrderedLayout l = new OrderedLayout();
Select s = new Select("Select Person");
- for (int i = 0; i < 1000; i++)
+ for (int i = 0; i < 50; i++)
s
.addItem(firstnames[(int) (Math.random() * (firstnames.length - 1))]
+ " "