Date Parse





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

7
Date Submitted Mon. Feb. 13th, 2006 3:40 PM
Revision 1
Coder mattrmiller
Tags Java | JDialog | JPanel | Resize | Size
Comments 0 comments
Locks a minimim size to a dialog or panel.
7
Date Submitted Mon. Feb. 13th, 2006 4:04 PM
Revision 1
Coder mattrmiller
Tags Duration | Format | Java | Milliseconds | String
Comments 1 comments
Formats milliseconds into a duration string.
7
Date Submitted Tue. Feb. 14th, 2006 1:20 AM
Revision 1
Coder mattrmiller
Tags Dotted | Draw | Java | Line | Paint
Comments 1 comments
Draw a dotted line in Java.
7
Date Submitted Tue. Feb. 21st, 2006 11:47 AM
Revision 1
Coder mattrmiller
Tags Java | Timer
Comments 1 comments
A simple implementation of a Java timer. Executes timer task every second.
7
Date Submitted Tue. Mar. 14th, 2006 11:49 PM
Revision 1
Coder mattrmiller
Tags Java | Newline | REMOVE | Replace | String
Comments 4 comments
Remove newslines from a string.
7
Date Submitted Thu. Mar. 16th, 2006 11:17 PM
Revision 1
Coder mattrmiller
Tags File | Java | Move
Comments 1 comments
Move a file quickly in java.
6
Date Submitted Fri. Aug. 18th, 2006 11:01 AM
Revision 1
Scripter ASmith
Tags Date | python
Comments 0 comments
Computes the difference between two dates in seconds
6
Date Submitted Fri. Feb. 17th, 2006 8:54 AM
Revision 1
Scripter TimYates
Tags Java
Comments 1 comments
More often than not, if your trying to work out what's going wrong with your subclass of InputStream, why the character encoding is getting lost in your database, or your file format reader is failing, you'll need to dump a byte buffer out in a useable form.

Here's two methods, one which appends to a StringBuffer, one which simply prints out to System.out

Tim.

(NB: The line: sb.append( "n" ) ; SHOULD have a leading slash ie: sb.append( "\n" ) ; but the formatter seems to remove it...
6
Date Submitted Fri. Apr. 7th, 2006 9:50 AM
Revision 1
Helper jpinkham
Tags CLASSPATH | DOS | Java
Comments 2 comments
Here's a nifty trick I often use for testing.

Lets say you have a c:\foo\lib directory full of jarfiles for log4j, javamail...whatever.

Modern J2EE containers do a nice job of letting you deploy a jarfile with your code and have a lib directory full of jarfiles like this, but what if you just want to run a quick client from the command line?

Here's what you do:
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