Skip to main content

Home/ InfokeyDEV/ Contents contributed and discussions participated by Benx Shen

Contents contributed and discussions participated by Benx Shen

Benx Shen

Floatutorial: Float basics - 0 views

  • When you float an element it becomes a block box.
  • You should always set a width on floated items (except if applied directly to an image - which has implicit width). W3C's Cascading Style Sheets, level 2, CSS2 Specifications states: "A floated box must have an explicit width..." If no width is set, the results can be unpredictable.
Benx Shen

Groovy - Embedding a Groovy Console in a Java Server Application - 0 views

  •  
    ere to run groovysh on it's own:
Benx Shen

Eclipse 3.4 Hidden Treasures | Eclipse Zone - 0 views

  • Format Only Edited LinesThe "Save Actions" is one of my favorite features in Eclipse 3.3 (read my original post about it). In Eclipse 3.4 there are several improvements including some new formatting features. One of the complaints against the Save Actions feature was that it will change the entire file, thus, making it very hard to compare to previous revisions when using a source control. It can become very annoying if some team members use it and some don't.For that purpose there's a new feature which allows changing just the edited lines, keeping the rest of the file intact. I highly recommend using the Save Actions feature. It is inactive by default, so go ahead and activate it.
Benx Shen

gotchas : Java Glossary - 0 views

  • A gotcha is a nasty surprise in the Java language or the standard libraries.
  •  
    Java 被認為不好設計的語言特性列表。 當然,Java肯定不是一個十全十美的程式語言,發現不好的設計,其實也是一種進步。看一看,究竟我們這些Java programmer算不算是在泥巴裡面打仗。
Benx Shen

Motivating the Data Storm, open source database browser for testing - 0 views

  • public void test_order_save() {    Order orderToBeFound = new Order(SOME_ID, SOME_NAME1);    orderToBeFound.save();    new DataStorm().show( connection, "SELECT * FROM orders o WHERE o.id = " + SOME_ID );    assertNotNull(orderToBeFound.load(SOME_ID));}
  •  
    Data Storm is a free open source data base browser. While there are millions of data base browsers freely available online, Data Storm is different as it can be launched directly from within your Java code. This enables you to see and modify data that otherwise may not be available to you.
Benx Shen

JDT/UI and Text Team Blog » Blog Archive » 3.4 New and Noteworthy - 0 views

  • The most important new features in the JDT are: Rich hovers: Follow links in Javadoc hover Quick fix problems in problem hover Inspect variable values in the debug hover Java Editor Breadcrumb: Know where you are while in the editor Various Content Assist improvements SWT Templates: Build your UI the fast way Format edited lines on save: Keep outgoing changes to a minimum Extract Class refactoring: Replace a set of fields by a new class Compiler supports multi CPU-machines: Compile your workspace faster
Benx Shen

jQuery: AJAX Queue/Synch/Abort/Block Manager - 0 views

  •  
    這個外掛可以更簡單管理重複按鈕事件,以及同步的ajax請求
« First ‹ Previous 61 - 80 of 236 Next › Last »
Showing 20 items per page