TableColumn1 SWT Table Widget Table Widget 테이블 위젯은 엑셀에서 볼 수 있는 형태와 유사하다. 각 항목을 여러 셀로 구성된 행 하나에 출력하고, 여러 열을 세로로 나열한다. 테이블의 열은 TableColumn으로 정의하며 옵션에 따라 헤더, 폭, 정렬방식을 정의할 수 있다. Table Widget 예제 public class TableExample { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("Table Example"); shell.setBounds(100, 100, 350, 200); shell.setLayout(new FillLayout(SW.. 2019. 4. 7. 이전 1 다음