Navigation Home / Tags / Java

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

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...
7
Date Submitted Fri. Feb. 17th, 2006 4:26 AM
Revision 2
Beginner ramanathank
Tags Java
Comments 7 comments
Change logs

-> length calculated from the array
-> charachters will not be repeated in the password
9
Date Submitted Tue. Feb. 14th, 2006 2:59 PM
Revision 1
Coder mattrmiller
Tags File | Filter | Java | JFileChooser
Comments 0 comments
Set's a filter for what files to accept when using JFileChooser.
5
Date Submitted Tue. Feb. 14th, 2006 4:59 AM
Revision 1
Scripter TimYates
Tags Arrow | Graphics | Java | Line
Comments 0 comments
Draws a line (with arrow head) between two given points.
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.
8
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 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.
4
Date Submitted Mon. Jan. 23rd, 2006 6:55 PM
Revision 1
Coder mattrmiller
Tags Customized | Java | JSlider
Comments 0 comments
Customize JSlider Labels
7
Date Submitted Thu. Jan. 5th, 2006 3:41 PM
Revision 1
Coder mattrmiller
Tags Java | Simple | Table
Comments 1 comments
Simple Table
8
Date Submitted Thu. Nov. 17th, 2005 8:43 PM
Revision 1
Coder mattrmiller
Tags CheckSum | File | Java
Comments 0 comments
File CheckSum