
SWT
iteye_8185
这个作者很懒,什么都没留下…
展开
-
设置SWT中的Label背景透明的方法
[code="java"]Composite up = new Composite(shell, SWT.NONE);up.setBackgroundMode(SWT.INHERIT_FORCE);final Label lab = new Label(up, SWT.NONE);lab.setImage(“图片路径”);或者shell.setBackgroun...原创 2012-07-08 19:08:51 · 1067 阅读 · 0 评论 -
文件选择和文件夹选择
[code="java"]import org.eclipse.swt.SWT;public class Fileopen { protected Shell shell; /** * Launch the application. * @param args */ public static void main(String[] args) ...原创 2012-07-11 19:09:35 · 141 阅读 · 0 评论 -
swt 文件对话框的种类
一、MessageDialog 1,MessageDialog的用法很简单 MessageDialog.openInfomation(shell,title,message); MessageDialog.openConfirm(shell,title,message); MessageDialog.openQuestion(shell,title,mess...原创 2012-07-11 23:42:54 · 244 阅读 · 0 评论 -
解决SWT多线程的问题
[code="java"]package com.yc.ui;import java.util.Date;public class Da { protected Shell shell; /** * Launch the application. * @param args */ public static void main(String[]...原创 2012-06-23 16:08:31 · 193 阅读 · 0 评论