Set the User-Agent Property for a SAX Parser
2
Conexion de una base de datos de PostgreSql 8.2 a Java
3
Search file directory (recursive method) with java language
2
Convert InputStream to byte[]
2
Convert java.awt.Canvas to java.awt.image.BufferedImage
7
Snippet for display one frame in full screen mode.
6
Convert
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
8
Fordiman
libNog is a 9k library to provide somewhat easier browser-independence. It is not yet complete, and will be continuously revised. It grew from this snippet, and is still growing as I find things I use often.
Presently, libNog features:
The above link will point you to the API documentation and history of libNog, as well as where to download the library.
Presently, libNog features:
A way to browser-independently get an XMLHttpRequest object.
A set of simple methods for GET, POST, HEAD, and to include other Scripts.
Simple methods for className control
A completely abstracted form of getElement*
Browser-independent methods for attaching and detaching event handlers
An event-normalization routine
A simple one-command 'Stop the Event' routine
And the big one: A simplified Class object by which classes can be built in JavaScript.
The above link will point you to the API documentation and history of libNog, as well as where to download the library.
0
A GroovyClassLoader demonstration. The given domain is a german water flow meter system; I think, you shouldn't be able to understand the domain, but you should be able to understand, how to load a Groovy class in Java via a GroovyClassLoader.
6
strandedfisherman
This gets the information off youtube when you add a youtube link.
please change the dev_id to your own my is:BnvzCjJ_Bzw
http://www.youtube.com/my_profile_dev
put a link in eg. http://www.youtube.com/watch?v=xOJnKgsWPGw
please change the dev_id to your own my is:BnvzCjJ_Bzw
http://www.youtube.com/my_profile_dev
put a link in eg. http://www.youtube.com/watch?v=xOJnKgsWPGw
9
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.









