[ create a new paste ] login | about

Link: http://codepad.org/TJ2G6Gqz    [ raw code | fork ]

Plain Text, pasted on Nov 1:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Group Gsettings = new Group(this, SWT.NONE);
GridLayout GsettingsGL = new GridLayout();
GsettingsGL.numColumns = 1;
Gsettings.setLayout(GsettingsGL);
GridData GsettingsGD = new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL);
GsettingsGD.grabExcessHorizontalSpace = true;
GsettingsGD.grabExcessVerticalSpace = true;
GsettingsGD.verticalSpan = 1;
Gsettings.setLayoutData(GsettingsGD);

Scale Sspeed = new Scale (Gsettings, SWT.NONE);
Sspeed.setSize(100, 10);
Sspeed.setMaximum (3);
Sspeed.setIncrement(1);


Create a new paste based on this one


Comments: