Snippets of the day – Thursday, October 31, 2013

Posted on Posted in Snippets

code-snippet-2

Here are some of the most recently published snippets!

Custom SWT List Box

This widget presents a ListBox, with vertical scroll-bars, whose items can be custom (instead of simple strings as in List widget).
The items should be of the same height and all homogeneous.

Open the snippet

Author:    snip2code

Try-catch block in Java

This is the right use of a try catch block

Open the snippet

Author:    cghersi @ Thotpot alumni
Java jre6

Leave a Reply

Your email address will not be published. Required fields are marked *