|
|
String cats[] = categories.getSelection();
for (int i = 0; i < cats.length; i++) {
System.out.println(" " + cats[i]);
}
}
});
shell.pack();
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) display.sleep();
}
if (dogImage != null) {
dogImage.dispose();
}
}
}
文件存为ComplexGridLayoutExample.java
对应的Makefile 文件
TARGET=ComplexGridLayoutExample
GCJ=gcj
JFLAGS=--classpath=./swt.jar
LFLAGS=-L. -lswt
all: $(TARGET)
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页
网友评论:(评论内容只代表网友观点,与本站立场无关!) |
阅读排行
|