これは明らかなはずですが、私は年齢を検索しましたが、どこにも言及されていません。SWT TableViewer を作成していますが、セルの周囲に境界線を設定したいと考えています。どうすればいいですか?何をしようとしても、私の細胞は常に境界がなく、ある細胞がどこで終わり、別の細胞が始まるかを判断するのは困難です. 私のコード:
TableViewer outputViewer = new TableViewer(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.FULL_SELECTION);
outputViewer.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
TableViewerColumn col = new TableViewerColumn(outputViewer, SWT.LEFT | SWT.BORDER);
col.getColumn().setWidth(200);
col.getColumn().setText("Output");
col.getColumn().setResizable(true);
col.setLabelProvider(new ColumnLabelProvider());