![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gwt
文章平均质量分 82
studyjavalm1017
这个作者很懒,什么都没留下…
展开
-
eclipse插件GWT Designer的安装与注册
实现步骤如下: 1:下载最新GWT Designer 2:下载最新gwt开发包,目前事gwt-windows-1.5.3.zip 3:下载keygeno.jar 4:点击安装GWT Designer将其指向eclipse目录 5:重新打开eclipas,执行windows/prefenerces/,若有Designer册为安装成功 6:打开命令行,指向到keygeno.jar目录,输入java -...2008-11-01 10:39:58 · 168 阅读 · 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 · 221 阅读 · 0 评论 -
gwt如何运用定时器设置间断时间
scheduleRepeating 如: timer.scheduleRepeating( 1000 );其中timer为定时器组件对象2008-11-11 09:57:02 · 276 阅读 · 0 评论 -
gwt setFocus的注意事项
每个控件都有一个焦点: 用来接收键盘事件, setFocus(boolean ) 设置焦点,必须等加到Panel后才有用 isAttached() 是否得到焦点 //开始 RootPanel.get().add(控件名); 控件名 .setFocus(true); if (控件名.isAttached()) Window.alert(""+but.getTabIndex...2008-11-11 09:26:42 · 167 阅读 · 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 · 130 阅读 · 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 · 188 阅读 · 0 评论 -
flextable的对应删除
com.google.gwt.user.client.ui.FlexTable A 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 · 193 阅读 · 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 · 99 阅读 · 0 评论 -
gwt插入图片
在入口类中若插入图片,用Image i= new Image(),用i.setUrl("d:\\18358628.gif");注意:这边不能用d:\,只能用d:\\或d:/2008-11-01 15:43:14 · 139 阅读 · 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 · 129 阅读 · 0 评论 -
gwt实现模板
gwt实现模板的几个步骤: 1:定义一个继承ITemplateSource的接口,ITemplateSource的代码如下: public interface ITemplateSource { } 继承ITemplateSource的接口的代码如下: public interface TemplateInterface extends ITemplateSource { /** ...原创 2008-11-12 11:38:26 · 124 阅读 · 0 评论