摘要: package edu.ch4;import java.awt.Color;import java.awt.Font;import java.awt.Frame;import java.util.Calendar;import java.util.Date;import org.eclipse.jface.window.ApplicationWindow;import org.eclipse.swt.SWT;import org.eclipse.swt.awt.SWT_AWT;import org.eclipse.swt.graphics.Point;import org.eclipse.sw 阅读全文
posted @ 2013-12-05 23:18 Brook Legend 阅读(345) 评论(0) 推荐(0) 编辑
摘要: http://www.findjar.com/jar/org/aspectj/aspectjtools 阅读全文
posted @ 2013-12-05 23:09 Brook Legend 阅读(220) 评论(0) 推荐(0) 编辑
摘要: package edu.ch4;import org.eclipse.swt.SWT;import org.eclipse.swt.events.SelectionAdapter;import org.eclipse.swt.events.SelectionEvent;import org.eclipse.swt.layout.*;import org.eclipse.swt.widgets.*;public class TableShell {Display d;Shell s;public TableShell() {d = new Display();s = new Shell(d);s 阅读全文
posted @ 2013-12-05 22:27 Brook Legend 阅读(1529) 评论(0) 推荐(0) 编辑
摘要: http://blog.flexexamples.com/2008/01/23/displaying-the-labels-vertically-in-flex-columnchart-control/ 阅读全文
posted @ 2013-12-03 11:39 Brook Legend 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Flex: Stacked column chart – programmatically inactionscriptBy bishopondevelopmentI was looking for ages for an example of a dynamically generated stacked column chart in Flex, but most of the examples were incorporating some MXML, or contained hard-coded series objects.The example below is based on 阅读全文
posted @ 2013-11-30 16:56 Brook Legend 阅读(557) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2013-11-21 21:51 Brook Legend 阅读(404) 评论(0) 推荐(0) 编辑
摘要: package{public class ListItemValueObject{[Bindable]public var label:String;[Bindable]public var isSelected:Boolean;public function ListItemValueObject() {super();}}} 阅读全文
posted @ 2013-11-21 21:50 Brook Legend 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 程序员35岁时候该做些什么啊?还有大家来报个到统计一下35岁的程序员数目,最近发现很累,而且看了好多论坛都说程序员是青春饭,可是我酷爱程序,不得不说很亚历山大,最近希望自己能够在了解行业的大背景下得到自己的答案,也同时让很多人感觉到自己的价值存在,而不是笼罩在一种阴影下面担心自己的前途未必,我个人发出这个心声也是很多人的担忧相信,希望大家能够在这里发表一些自己的见解,也好让好多人都可以看清道路。 阅读全文
posted @ 2013-08-30 15:41 Brook Legend 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 页面1:表单的action=login?method=login页面2:表单的action=login?method=insert .....然后通过method的值采用不同方法进行处理。如下public void doPost(HttpServletRequest request, HttpServletResponse response) {String method = request.getParameter("method");if ("login".equals(method)) doLogin(request,response);else 阅读全文
posted @ 2013-08-25 19:50 Brook Legend 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 2013-08-16public String getNeedString(String source, int requestLength){ int index = 0; //begin num int sumLength = 0; //sum length String result = ""; while(index requestLength) { break; } result += currentChar; index++; } } 阅读全文
posted @ 2013-08-16 22:25 Brook Legend 阅读(205) 评论(0) 推荐(0) 编辑