Monday, November 19, 2007
NetBeans Wiki: SwingJRuby
Table of Contents»
- Swing with JRuby: Developing a Desktop Application with the JRuby and Java Swing APIs
- Tutorial Requirements
- Prerequisites
- Software Needed for This Tutorial
- Notations Used in This Tutorial
- Setting up Your Environment
- Pointing NetBeans to nan installed JRuby interpreter
- Checking out the CurrencyConverter Web Service
- Inspecting CurrencyConverter web service and its WSDL
- Creating a Ruby NetBeans Project and a SOAP Web Service Client
- Creating a new Ruby project
- Creating Ruby Modules for Java API
- Including Swing Layout Extension Java library (.jar files) in Ruby project
- Creating Ruby modules for the Java API
- Creating a Currency Object
- Creating the application UI with Swing
- Putting the Pieces Together!
- Summary
NetBeans IDE 6.0 - Tutorials - Using Databound Components to Access a Database
....
....
Wednesday, November 14, 2007
What is BlogThis! ?
BlogThis! is an easy way to make a blog post without visiting blogger.com. Once you add the BlogThis! link to your browser's toolbar, blogging will be a snap. Or rather, a click. Clicking BlogThis! creates a mini-interface to Blogger prepopulated with a link to the web page you are visiting, as well as any text you have highlighted on that page. Add additional text if you wish and then publish or post from within BlogThis!
There are two ways to use BlogThis!: if you use Windows and Internet Explorer, you can use BlogThis! from the SendTo feature of the Google Toolbar. If you're on another browser, just drag the link below to your browser's Link bar. Then, whenever the mood strikes, click BlogThis! to post to your blog:
BlogThis! <-- drag this link to your browser's Links bar
This is what BlogThis! looks like:
Saturday, November 10, 2007
买到便宜衣服啦
第二条 Levi’s® Red Wire 没想到居然被我掏到了,$17.99...(税后大概不到rmb150).呵呵,没想到阿没想到,在中国只能瞻仰.
哎,听说SFO的levi's全球第一店里,千分之一裤太普通了,想找条不是的太难了。。。
期待thanks giving & Christmas ...
Levi’s® Red Wire™ 穿上你的音乐
创意能改变世界,更能带给我们无限惊喜。在牛仔裤的界别,Levi’s®一直领导潮流,Levi’s®的501®几乎已成为牛仔裤的代号,其后 的3D 立体剪裁亦在时装界带来革命性的突破。iPod的出现亦同样疯魔全球。现在两个充满创意的产品携手合作,成果非常令人期待。
要将两个极年青的元素——牛仔裤与音乐合二为一实在有点天马行空,但Levi’s® 却能将梦想变成事实,在今年秋季将在全球推出首条与iPod合作的Levi’s® Red Wire™牛仔裤,让大家将新科技穿在身上。
Levi’s® Red Wire™牛仔裤,全国发售40条,非常珍贵。它最大的特色是将牛仔裤电子化,加入的配件能令音乐与身上的牛仔裤紧紧结合,彷如将音乐由身上的牛仔裤直接输送到耳边,更方便、更型格地享受精选的乐曲。
Levi’s® Red Wire™在时装上融合了科技突破,当中包括﹕
“隐藏式iPod裤袋”
喜欢穿松身牛仔裤的年青人往往将iPod随意放在裤袋内,但Levi’s® Red Wire™ 的设计却在裤侧特别车上一个放置iPod的有盖掩裤袋。由于是特别设计,所以穿在身上不会有突兀的感觉。在这裤袋内另车上一条末端有插头的长长绢带,将所 用的iPod插上,就能将iPod的控制功能传送到设在表袋位 (watch pocket) 的 “Hip” Controls上。
在表袋位的Hip Controls
“Hip” Controls 的设计是将iPod 的四方位控制画面(开、关,前一首及后一首歌) 转化到微型笔杆式(joystick)操控器中。操控器沿用iPod的白色主调,以圆形设计置于右表袋的正中位置,背后车上魔术贴边及钮扣,脱下这个装 置,整条裤都可以水清洗。由于iPod 的控制画面已经外移,省却了经常将iPod 拿出来调整控制的麻烦。
盒式轻便耳筒
Levi’s® Red Wire™的包装内亦附上一个轻便盒式耳筒,将小盒背后的悬挂牌直接挂在裤头的特定位置,并将插头与“Hip Controls” 背后的插头结连,就能听到iPod的音乐,而耳筒线可以自由伸缩,整齐方便。
毕竟Levi’s® Red Wire™是一件时装精品,设计师除了追求科技的创新,在细节上处处强调与iPod cross over的元素。Levi’s® Red Wire™的设计特色包括﹕
· 直脚剪裁,加入3D元素,扩大裤侧位置,在前幅及后幅裤管位加车直线,方便车上可放置iPod的裤袋;
· 洗水布料;
· 配合iPod白色主调,全条裤都用上白色车线,裤头上方、裤脚及表袋、裤侧与前袋位都加上粗针白色车线,所有撞钉及钮扣都用上白色;
· 白色双马皮牌,四边用红色车线,更在左下角刻意做成出线位;
· 后裤袋放弃传统拼贴双行线的车法,以较复杂的方式在原有袋口位置先剪开窗口位,将裤袋套入以单行线车上,看来特别细致,而裤袋内收口位用红布包边车上。
Levi’s® Red Wire™的包装全球均统一,独立包装的胶袋内包括一条Levi’s® Red Wire™牛仔裤,更配备了多款适合不同型号的iPod外壳、一个轻便的耳筒及附有一个特别版的包装袋。
Levi’s® Red Wire™只提供男装,全国只配售40条,每条售价RMB 2699。
另外Levi’s® Red Wire™也同时推出了入门版,剪裁一致仅省略了新科技的配件元素,但以每条售价RMB 899的价钱拥有一条具话题性的牛仔裤亦总算超值。(我的有配件,应该不是,难道完全版的送ipod?呵呵)
Monday, November 05, 2007
Saturday, November 03, 2007
asserted&deasserted
* deasserted: A signal is deasserted when in the inactive state. Active-low signal names have "_L" appended to the end of signal mnemonic. Active-high signal name have no "_L" suffix. To reduce confusion when referring to active-high and active-low signals, the term one/zero, high/low, and true/false are not used when describing signal states