java Canvas to BufferedImage / Image





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

12
Date Submitted Sun. Oct. 8th, 2006 9:19 PM
Revision 1
Beginner trevis
Tags Fade | Image | JavaScript | slideshow
Comments 0 comments
Fade in/out multiple images like a slideshow.
7
Date Submitted Tue. Sep. 19th, 2006 8:22 AM
Revision 1
Helper alambkin
Tags Exponentiation | Fast | Java
Comments 2 comments
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
6
Date Submitted Wed. Sep. 13th, 2006 9:47 AM
Revision 1
Helper alambkin
Tags Exponentiation | Fast | Java
Comments 1 comments
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
6
Date Submitted Thu. Aug. 24th, 2006 1:58 PM
Revision 1
Beginner jamesstaylor
Tags Java
Comments 1 comments
This is a quick and easy class that will generate MD5 hashes from strings. I originally wrote it to insert into my Oracle database so I could generate MD5 hases for passwords from PL/SQL.

Example

String md5Hash = stringMD5("my password");
8
Date Submitted Mon. Aug. 7th, 2006 4:48 PM
Revision 1
Scripter bertheymans
Tags Date | Java | Time
Comments 0 comments
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.

Check out the docs here for more detail.

enjoy
6
Date Submitted Sun. Jul. 23rd, 2006 5:39 PM
Revision 1
Helper rugi
Tags Array | Java | Random
Comments 0 comments
Method for get n random number's
-5
Date Submitted Wed. May. 31st, 2006 3:19 AM
Revision 2
Beginner fazen
Tags Image | Java | servlet | Stream
Comments 1 comments
Servlet returning an image.
9
Date Submitted Fri. May. 26th, 2006 11:16 AM
Revision 2
Coder mattrmiller
Tags "Email Address" | Java | String | Validate
Comments 2 comments
Fixed the regular expression to check for more strict requirements.
9
Date Submitted Thu. May. 18th, 2006 2:02 AM
Revision 3
Helper jbuchberger
Tags Java
Comments 0 comments
With Java Web Start 1.5.0 all of a sudden new proxy properties were introduced (deployment.proxy.http.host, deployment.proxy.http.port and deployment.proxy.bypass.list) valid only for the webstart environment - and if that was not enough yet, it does not support the existing proxy properties, neither the standard, nor the deprecated ones from old Java releases. To topple even that, for the bypass-list the delimiters were changed to semicolon (http.nonProxyHosts has the pipe char as delimiter) ...

standard networking properties

the workaround here makes sure, that if any one of these proxy properties (deprecated, standard or webstart-5 ones) are set, that all the others get the same settings - this pays off, if you're using different third-party components relying on one specific set of these proxy properties (especially if it's beyond your power, in what kind of environment the software will be executed respectively integrated...)
7
Date Submitted Mon. May. 15th, 2006 11:25 AM
Revision 4
Helper jbuchberger
Tags ant | builds | Java
Comments 0 comments
if you use the same buildfiles on your local codebase and your continuous integration buildserver, the if-attribute for ant's targets comes in handy...

for this ant buildfile snippet to only create+publish javadoc when executed on the buildserver, the buildserver only has to set the referred system property, e.g. on its startup by using a Java D-option "-Dcontinuous.build=true" ...

ant buildtool website