SWT之TABLE示例.docVIP

  • 2
  • 0
  • 约1.84千字
  • 约 5页
  • 2016-07-26 发布于河南
  • 举报
package com.swt.jface; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.*; public class TablSimple01 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Display display=new Display(); Shell shell=new Shell(display); //申明一个选项卡容器 TabFolder tabFolder=new TabFolder(shell,SWT.NONE); //设置选项卡的位置和大小 tabFolder.setBounds(5,5,180,130); //声明第一个选项卡 TabItem tabItem1=new TabItem(tabFolder,SWT.NONE); tabItem1.setText(选项1); { //创建第一个分组框,建立在tabFolder上 Group group1=new Group(tabFolder,SWT.NONE); group1.setText(录入信息);

文档评论(0)

1亿VIP精品文档

相关文档