public void buildrightomposite()
	{
		GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 1;
		gridLayout.marginWidth = gridLayout.marginHeight = 0;
		rightComposite.setLayout(gridLayout);
		Composite titleComposite = new Composite(rightComposite, SWT.NONE);
		GridData gd = new GridData(GridData.FILL_BOTH);
		gd.heightHint = 120;
		titleComposite.setLayoutData(gd);
		Image titleImage = new Image(display, "image/title.jpg");
		titleComposite.setBackgroundImage(titleImage);

		Composite customerComposite = new Composite(rightComposite, SWT.BORDER);
		gd = new GridData(GridData.FILL_BOTH);
		gd.heightHint = 360;
		customerComposite.setLayoutData(gd);
		customerComposite.setLayout(new FormLayout());

		Composite messageComposite = new Composite(rightComposite, SWT.NONE);
		gd = new GridData(GridData.FILL_BOTH);
		gd.heightHint = 120;
		messageComposite.setLayoutData(gd);
		gridLayout = new GridLayout();
		gridLayout.numColumns = 2;
		gridLayout.marginWidth = gridLayout.marginHeight = 0;
		messageComposite.setLayout(gridLayout);

		Composite staticMessage = new Composite(messageComposite, SWT.BORDER);
		gd = new GridData(GridData.FILL_BOTH);
		gd.widthHint = 120;
		staticMessage.setLayoutData(gd);
		gridLayout = new GridLayout();
		gridLayout.numColumns = 1;
		gridLayout.marginHeight = gridLayout.marginWidth = 0;
		staticMessage.setLayout(gridLayout);
		moneyLabel = new Label(staticMessage, SWT.NONE);
		gd = new GridData(GridData.FILL_BOTH);
		gd.heightHint = 30;
		moneyLabel.setLayoutData(gd);
		customerLabel = new Label(staticMessage, SWT.NONE);
		gd = new GridData(GridData.FILL_BOTH);
		gd.heightHint = 70;
		customerLabel.setLayoutData(gd);

		customerComposite.setLayout(new FormLayout());
		FormData data = new FormData();
		data.top = new FormAttachment(6);
		data.left = new FormAttachment(4);
		data.bottom = new FormAttachment(94);
		data.right = new FormAttachment(97);
		Composite customerBox = new Composite(customerComposite, SWT.BORDER);
		customerBox.setLayoutData(data);
		Image bkImage = new Image(display, "image/dengzi.jpg");
		customerBox.setBackgroundImage(bkImage);

		gridLayout = new GridLayout();
		gridLayout.numColumns = 5;
		gridLayout.marginWidth = gridLayout.marginHeight = 0;
		customerBox.setLayout(gridLayout);
		//System.out.println(seatsList.length);
		//System.out.println(eatingLabels.length);
		for (int i = 0; i < eatingLabels.length; i++) {

			eatingLabels[i] = new Label(customerBox, SWT.NONE);
			gd = new GridData(GridData.FILL_BOTH);
			Image eatingImage = new Image(display, "image/eating.jpg");
			eatingLabels[i].setBackgroundImage(eatingImage);
			eatingLabels[i].setLayoutData(gd);
			eatingLabels[i].setVisible(false);
		}


		rollingLabels = new Label[4];
		Composite rollingMessage = new Composite(messageComposite, SWT.NONE);
		gd = new GridData(GridData.FILL_BOTH);
		gd.widthHint = 420;
		rollingMessage.setLayoutData(gd);
		gridLayout = new GridLayout();
		gridLayout.numColumns = 1;
		gridLayout.marginHeight = gridLayout.marginWidth = 0;
		rollingMessage.setLayout(gridLayout);

		for (int i = 0; i < 4; i++) {
			gd = new GridData(GridData.FILL_BOTH);
			gd.widthHint = 100;
			rollingLabels[i] = new Label(rollingMessage, SWT.BORDER);
			rollingLabels[i].setLayoutData(gd);
			//rollingLabels[i].setText("显示即时信息");
		}
	}