- 博客(4)
- 收藏
- 关注
原创 获取当前选中的TABLE行的某列数据
table.addMouseListener(new MouseAdapter() { @Override public void mouseDoubleClick(MouseEvent e) { int selIndex=table.getSelectionIndex(); TableItem item=table.getItem(selIndex);//组数据 tex
2010-01-29 22:09:00 1858
原创 数据库读取到grid
当按下按钮的时候提取数据库信息 public void widgetSelected(SelectionEvent e) { try { table.removeAll(); //table. Statement stmt=pfzhao.ychis.app.books.db.mysqlconn.getConnection().createStatement(); S
2010-01-29 20:57:00 787
原创 JFace模式窗体TITLE设置
public UserLogin(Shell parentShell) { super(parentShell); setShellStyle(SWT.TITLE); } protected Control createDialogArea(Composite parent) { parent.setBackground(SWTResourceManager.getCo
2010-01-25 17:35:00 782
原创 RCP用户登录验证
//重构dlg的初始化类@使用IShellProvider获取Shell;public UserLogin(IShellProvider parentShell) { super(parentShell); }// Display display = PlatformUI.createDisplay(); UserLogin userdlg=new UserLogin(ne
2010-01-25 12:18:00 932
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人