Topic: 怎么给Jface的ApplicationWindow加个窗口图标?

  Print this page

1.怎么给Jface的ApplicationWindow加个窗口图标? Copy to clipboard
Posted by: tssungeng
Posted on: 2005-04-28 23:14

显示窗口左上角的那种?

2.Re:怎么给Jface的ApplicationWindow加个窗口图标? [Re: tssungeng] Copy to clipboard
Posted by: kamhung
Posted on: 2005-05-09 12:51

在configureShell 方法中加入
newShell.setImage(ResourceManager.getImage(Application.class,"/image/main.ico"));
就可以了

3.Re:怎么给Jface的ApplicationWindow加个窗口图标? [Re: tssungeng] Copy to clipboard
Posted by: lay123456
Posted on: 2005-05-15 00:58

能不能说具体点,ResourceManager ,Application.class 分别代表什么》??最好给个例子,谢谢

4.Re:怎么给Jface的ApplicationWindow加个窗口图标? [Re: tssungeng] Copy to clipboard
Posted by: kamhung
Posted on: 2005-05-25 08:30

ResourceManager ,Application.class 都是表示静态类,不是实体

5.Re:怎么给Jface的ApplicationWindow加个窗口图标? [Re: tssungeng] Copy to clipboard
Posted by: java88
Posted on: 2005-06-03 08:42

在shell上面增加

6.Re:怎么给Jface的ApplicationWindow加个窗口图标? [Re: tssungeng] Copy to clipboard
Posted by: yinpeng263
Posted on: 2005-06-08 04:20

http://www.java2s.com/ExampleCode/SWT-JFace-Eclipse/CatalogSWT-JFace-Eclipse.htm


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923