- 博客(13)
- 收藏
- 关注
原创 HTML Elements
转载 HTML documents are defined by HTML elements. HTML Elements An HTML element is everything from the start tag to the end tag: Start tag * Element content End tag * <p> This is a ...
2010-07-12 22:54:59
316
原创 HTML Basic - 4 Examples
转载 Don't worry if the examples use tags you have not learned. You will learn about them in the next chapters. HTML Headings HTML headings are defined with the <h1> to <h6> tags. ...
2010-07-12 22:42:08
107
原创 HTML - Getting Started
转载 What You Need You don't need any tools to learn HTML at W3Schools. You don't need any HTML editor You don't need a web server You don't need a web site Editing HTML In this tutorial we ...
2010-07-12 22:38:37
118
原创 HTML introduction
转载 What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a ...
2010-07-12 22:33:56
118
原创 inside SWT: what does Display bring to SWT
写在德国4:0领先阿根廷时... 前一篇说到OS将部分操作系统API进行了封装,实现了图形界面的底层函数,那么Display作用几何? 实际上在SWT程序设计中是很少需要直接使用OS类,而这很大程序上得益于Display类,它主要有如下功能: 1.注册了三个窗口类,分别用于创建普通窗口、工具窗口和画布窗口,以及窗口类的回调函数 2.创建了一个隐藏窗口,用以处理一些特定的消息,如异步执...
2010-07-03 23:53:26
79
原创 inside SWT: start from OS
SWT程序设计中,Display充当SWT与底层操作系统、UI线程之间的桥梁,而OS类是Display实现的基础。 OS对界面部分操作系统底层API进行了封装,其父类C实现了内存操作函数,从而使得java中也可以像C/C++一样设计界面。 我们知道,基本的windows程序设计一般需要注册窗口类、创建窗口、处理消息循环三个过程,通过OS我们完全可以用java代码实现以上过程,看例子:纯OS实现...
2010-07-02 23:07:25
177
原创 eclipse 扩展点与命令等
org.eclipse.ui.***.jar 中plugin.xml定义了多数的扩展点,如常用command。 eclipse自定义的command可转化为IWorkbenchAction,如org.eclipse.ui.file.export命令可以转为ActionFactory.EXPORT.create(window)。 ...
2010-06-22 09:26:34
73
原创 eclispe IExportWizard
通过使用eclipse的org.eclispe.ui.exportWizards来定义自己的导出向导很方便。 1、直接使用eclipse现有的命令init(IWorkbench workbench, IStructuredSelection selection)可以调用,可以通过在ApplicationActionBarAdvisor添加代码使能这个菜单。 2、可以将自己的向导整合到现在的向导...
2010-06-21 20:21:39
295
原创 使用eclipse已有命令
ApplicationActionBarAdvisor中: protected void makeActions(IWorkbenchWindow window) { exitAction = ActionFactory.QUIT.create(window); register(exitAction); } protect...
2010-06-21 15:26:37
65
原创 SimpleDateFormat
d = (new SimpleDateFormat("yyyyMMdd")).parse((String) value);
2010-06-14 15:25:11
70
原创 java多态性测试
public class HelloWorld { public static void main(String[] args) { new parent().test(null); new child1().test(null); new child1().test("hello"); new child1().test((Object)null); ...
2010-06-08 13:36:02
198
原创 eclipse droplet 1
普通RCP程序的入口:org.eclipse.equinox.launcher.Main.main(String[] args) 将eclipse\plugins下的org.eclipse.equinox.launcher_***.jar和org.eclipse.equinox.launcher.source_***.jar加到class_path即跟踪代码....
2010-06-04 20:22:00
144
原创 打印Class Path
import java.io.IOException; import java.net.URL; import java.net.URLClassLoader; import sun.misc.Launcher; import sun.misc.URLClassPath; public class Main { public static void main...
2010-06-03 13:49:30
111
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人