svn changeset:1116/svn branch:trunktags/6.7.0.beta1
// Create the buttons and place them in the grid | // Create the buttons and place them in the grid | ||||
for (int i = 0; i < captions.length; i++) { | for (int i = 0; i < captions.length; i++) { | ||||
Button button = new Button(captions[i], this); | Button button = new Button(captions[i], this); | ||||
button.setStaticPid("_Button"+captions[i]); | |||||
layout.addComponent(button); | layout.addComponent(button); | ||||
} | } | ||||