studioevoque


Member since 10/16/2010

10 snippets

2493 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

studioevoque's Recent SnippetsTagged java



« Prev 1 Next »
A simple utility class that uses the H2 SQL Db to maintain a database connection. It also gives a convenience method to run SQL scripts. _Note:_The init.sql value is hardcoded, and should be replaced by a static variable if needed
0 780 posted 12 years ago by studioevoque
A simple way to get the enum indicated by its ordinal value.
0 839 posted 13 years ago by studioevoque
0 554 posted 13 years ago by studioevoque
0 563 posted 13 years ago by studioevoque
A "quick and dirty" way to delete a directory. For more cleaner implementation, see http://www.google.com/codesearch/p?hl=en#SS2by_AKaLs/src/org/apache/commons/io/FileUtils.java&q=cleanDirectory&l=972
0 532 posted 13 years ago by studioevoque
This is a modification of the Sun tutorial code that initializes the text editor to accept words that are not part of the auto-complete list. In the terms of the implementation, it is referred to as "not strict".
1 704 posted 13 years ago by studioevoque
An example to make myself remember how powerful Java enums are!
1 2200 posted 13 years ago by studioevoque
Don't forget the nifty event properties to detect double-click !
0 562 posted 13 years ago by studioevoque
« Prev 1 Next »