
gwt
文章平均质量分 82
studyjavalm1017
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
eclipse插件GWT Designer的安装与注册
实现步骤如下:1:下载最新GWT Designer2:下载最新gwt开发包,目前事gwt-windows-1.5.3.zip3:下载keygeno.jar4:点击安装GWT Designer将其指向eclipse目录5:重新打开eclipas,执行windows/prefenerces/,若有Designer册为安装成功6:打开命令行,指向到keygeno.jar目录,输入java -...2008-11-01 10:39:58 · 228 阅读 · 0 评论 -
gwt错误集锦
通常情况下不弹出缩主浏览器或手动点击缩主浏览器,提示To launch an application, specify a URL of the form /module/file.html并且在日志文件提示[TRACE] Loading module ''[ERROR] Invalid module name: ''这些错误,基本情况则为启动页面参数没配,解决方法为:选中工程项目...2008-11-12 10:12:47 · 280 阅读 · 0 评论 -
gwt如何运用定时器设置间断时间
scheduleRepeating如:timer.scheduleRepeating(1000);其中timer为定时器组件对象2008-11-11 09:57:02 · 341 阅读 · 0 评论 -
gwt setFocus的注意事项
每个控件都有一个焦点: 用来接收键盘事件,setFocus(boolean ) 设置焦点,必须等加到Panel后才有用isAttached() 是否得到焦点//开始RootPanel.get().add(控件名); 控件名 .setFocus(true); if (控件名.isAttached()) Window.alert(""+but.getTabIndex...2008-11-11 09:26:42 · 210 阅读 · 0 评论 -
gwt实现响应回车事件
组件名.addKeyboardListener(new KeyboardListenerAdapter() { public void onKeyPress(Widget sender, char keyCode, int modifiers) { // Check for Enter key if ((k...2008-11-11 09:23:39 · 174 阅读 · 0 评论 -
gwt实现rpc
1:在客户端也即client,实现service接口,方法如下:package com.jpleausre.gwt.logon.client;import java.util.ArrayList;import com.google.gwt.user.client.rpc.RemoteService;public interface GwtService extends RemoteServ...2008-11-03 15:09:34 · 239 阅读 · 0 评论 -
flextable的对应删除
com.google.gwt.user.client.ui.FlexTableA flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to s...原创 2008-11-03 14:58:06 · 253 阅读 · 0 评论 -
gwt实现国际化的处理
1:用gwt的i18nCreator.cmd 这个命令生成资源文件,放在client下,如i18nCreator.cmd org.lee.client.HelloChinese 2:新建一个接口,接口名与资源文件名字一样(注意:名字必须一样,否则报错) 3:在资源文件下加上键值对,如button=hello,这边的键名与同名接口的方法一样,即资源文件中有个button键,则同名接口中有个b...2008-11-01 15:52:19 · 131 阅读 · 0 评论 -
gwt插入图片
在入口类中若插入图片,用Image i= new Image(),用i.setUrl("d:\\18358628.gif");注意:这边不能用d:\,只能用d:\\或d:/2008-11-01 15:43:14 · 188 阅读 · 0 评论 -
gwt中入口类的问题
今天在用工具自动生成gwt应用代码时,因为在入口类当中声明了该类的实例对象,出现错误,注释即可正常运行,不太清楚具体原因,还望大家多多指教。代码如下:package com.mycompany.project.client;import com.google.gwt.core.client.EntryPoint;import com.google.gwt.user.client.Window...2008-11-01 13:38:51 · 162 阅读 · 0 评论 -
gwt实现模板
gwt实现模板的几个步骤: 1:定义一个继承ITemplateSource的接口,ITemplateSource的代码如下:public interface ITemplateSource {}继承ITemplateSource的接口的代码如下:public interface TemplateInterface extends ITemplateSource { /**...原创 2008-11-12 11:38:26 · 172 阅读 · 0 评论