numLinesGroup.setText("Amount to show");
numLinesGroup.setText("What to show at start");
    protected void createNumLinesGUI(Composite parent)    {        //        // Number of lines grouping        //        GridData gridData;            // Grouping control        Group numLinesGroup = new Group(parent, SWT.NONE);        numLinesGroup.setText("Amount to show");        GridLayout glayout = new GridLayout(2, false);        numLinesGroup.setLayout(glayout);        gridData = new GridData();        gridData.horizontalSpan = 3;        numLinesGroup.setLayoutData(gridData);                // Button to show entire file        m_wholeFileButton = new Button(numLinesGroup, SWT.CHECK);        m_wholeFileButton.setText(("Show entire file"));        gridData = new GridData(GridData.GRAB_HORIZONTAL);        gridData.horizontalSpan = 2;        m_wholeFileButton.setLayoutData(gridData);                // Label show num of lines        m_numLinesLabel = new Label(numLinesGroup, SWT.NONE);        m_numLinesLabel.setText("Number of lines to show:");        gridData = new GridData(GridData.GRAB_HORIZONTAL);        gridData.horizontalSpan = 1;        gridData.widthHint = 140;        m_numLinesLabel.setLayoutData(gridData);                // Text field show num of lines        m_numLinesText = new Text(numLinesGroup, SWT.BORDER);        m_numLinesText.setTextLimit(4);        gridData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);        gridData.horizontalSpan = 1;        gridData.widthHint = 40;        m_numLinesText.setLayoutData(gridData);                // Add button listener        //        m_wholeFileButton.addSelectionListener(new SelectionAdapter() {            public void widgetSelected(SelectionEvent evt)            {                if (m_wholeFileButton.getSelection())                {                    // Button is selected, disable number of lines.                    //                    m_numLinesLabel.setEnabled(false);                    m_numLinesText.setEnabled(false);                }                else                 {                    // Button is disabled, enable number of lines.                    //                    m_numLinesLabel.setEnabled(true);                    m_numLinesText.setEnabled(true);                }            }               });            }