Other listings by this author |
Primes 1.4 (Downloads: 458)
calculates the prime numbers 1..N, tells you if N is prime etc. calculates the prime numbers 1..N, tells you if N is prime etc.
Prints tables of primes.
Computes the prime just below or above N.
It is useful in computing optimal Hashtable sizes.
Java source included....
|
HeapSort 1.7 (Downloads: 205)
HeapSort is an implementation of Williams and Floyd classic HeapSort. HeapSort is an implementation of Williams and Floyd's TopDown HeapSort.
HeapSort is a fast internal sort written in Java that uses a
sorting algorithm analogous to power struggles for higher
positions in a hierarchical bureaucracy. Source provided. It
is faster than QuickSort, but slower that RadixSort. It
sorts using a comparison routine you provide to compare two
elements to be sorted.
You can test it with:
|
Splice 1.5 (Downloads: 338)
SPLICE splices bits of files together SPLICE splices bits of files together e.g.
SPLICE Cut MyFile.Txt Start 99 Length 99 Insert MyFile2.txt At 99
SPLICE Copy MyFile.Txt Start 99 Length 99 Overlay MyFile2.txt At 99
Uses for SPLICE:
1. excising a section of a file.
2. replacing a section of a file.
3. inserting a section into a file.
4. extracting a section of a file.
5. appending a section onto a file.
This program may be freel...
|
InWords 4.6 (Downloads: 313)
Java code to converts number to words in any of 24 languagues. Shows you how to count in any of the following languages:
Bahasa Indonesia
Binary
Decimal (several variants)
Dutch (modern, old and banker's)
English (British, North American, Ordinals)
Esperanto
French
German
Grams
Hexadecimal
Icelandic
Italian
Japanese
Martian
Metric Metric Prefixes (grams)
Norwegian
Octal
Polish
RAM (bytes)
Roman Numerals...
|
Pluck 1.0 (Downloads: 185)
Scans multiple files looking for a REGEX pattern, and summarised what it finds. Scans multiple files looking for a REGEX pattern, and
summarised what it finds as a CSV file.
java -jar C:\com\mindprod\pluck\pluck.jar "\.[a-z]+\." E:\temp\temp.csv E:\somedir
adjusting as necessary to account for where the jar file is.
The first parameter is the regex pattern. See regex in the java glossary
for how to compose them.
The next parameter is where the output in to go. use the
wo...
|
Wavelength 1.3 (Downloads: 235)
Wavelength creates Color objects given the light wavelength or the frequency Wavelength creates Color objects given the wavelength or
the frequency of the light rather than the usual RGB or HSB.
instead of:
Color c = new Color(255, 0, 0);
use the frequency in nanometers, and gamma 0.0. .. 1.0.
(gamma is intensity/brightness.)
Color c = Wavelength.wvColor( 400.0f, 0.80f );
The visible range of the spectrum is 380..780 nanometers.
Smaller is bluer.
or using frequency in Terahe...
|
Converter 5.5 (Downloads: 375)
How to Interconvert any of the Java primitives. Conversion Amanuensis. Conversion teaching tool. Shows you how to convert any of the 17 basic Java types into any of the other. Conversion Amanuensis as your side whenever you need Java code to convert anything to anything else. Runs an as Applet or application.
To install, Extract the zip download with WinZip, available from
winzip.com (or similar unzip utility) into any
directory you please, often C:\ -- ticking off the (user
folder names) option. To run ...
|
Official Encoding 1.1 (Downloads: 158)
Discover the official name of any given Java encoding. Official Encoding will tell you the official name of any given Java encoding and whether it is supported by Java. It will also display some of the characters available with that encoding.
Prerequisites:
This program runs under any OS,
(e.g. Win2K/XP/Vista/OSX/Linux/Solaris/Vista64/AIX...) so long as you have
Java version 1.5 or later installed.
Installing:
Download source and compiled class files to run...
|
Honk 1.5 (Downloads: 222)
Plays one or more of the Standard Windows sounds or wav files. Plays one or more of the Standard Windows sounds, triggered
purely from the command line.
use:
honk
- Plays the default system sound.
honk SystemStart SystemHand SystemQuestion
- Plays the given list of standard system sounds (usually just one).
- they are case-insensitive (you can get the case wrong and it will still work).
Possible sound names are listed in the registry...
|
JarLook 1.2 (Downloads: 288)
Check that class target versions are as expected in a Java jar. Check a Java jar to make sure all the javac -target versions of
the class files are what you expect.
Java application.
Requires Java version 1.5 or later.
All Java source code is included.
to use:
java -jar jarlook.jar jartotocheck.jar 1.1 1.4
where jartocheck.jar is the name of jar to check.
It will check all the class files in it.
In this example:
1.1 is the low...
|
MimeCheck 4.5 (Downloads: 441)
Check that a server is sending the correct mime type for any given URL. Check that a server is sending the correct mime type for any given URL.
Helps you check that a server, possible not even yours, is properly configured....
|
FontShower 2.9 (Downloads: 474)
Displays all the fonts available to Swing in Java. Displays all the fonts available to Java on your
machine. Displays the fonts in a variety of styles, sizes
and colours, rendered either with anti-aliased or plain.
FontShower displays the fonts available on *your* machine
to *Java*. Other people will have different fonts installed
and will see different selections available via Java on
their machines. Your browser will see a slightly different
set of fonts than Java ...
|
SetClock 8.5 (Downloads: 833)
Set your PC Clock from an accurate atomic clock on the web. Set PC Clock from an accurate atomic clock on the web. You
can put in on your website so that others can use it to
correct their clocks without having to install software or
without you having to install software on your server.
Java Web Start signed.
Requires Java version 1.5 or later. Native code for Windows only.
Full Java source code included, and native C JNI code....
|
Common13 1.3 (Downloads: 249)
common utility classes that work under Swing Java 1.3+ common utility classes that work under Swing Java 1.3+
Includes:
CMPAboutJBox: a proper about box for Swing apps/JApplets that provides useful information.
HybridJ : converts Swing Applet into an Application...
|
FileFilters 2.7 (Downloads: 397)
Colllecton of Java FilenameFilters. FilenameFilters you can use in your own Java programs with
File.list( FilenameFilter f ). They can also be used
standalone as fancy dir commands.
They come with Java source and include:
AllDirectoriesFilter gets all directories
AllFilesFilter gets all files
ClamFilter simple wildcard
DirListFilter gets a list of directories
EndsWithFilter gets files whose names end with a...
|
FileIO 6.1 (Downloads: 532)
Generates sample Java code to do 617 types of I/O. I/O teaching tool that generates sample Java source code to read or write the console, a sequential file, a random access file, a String, an array of characters, an array of bytes, URL, HTTP CGI GET/POST, Socket, resource or Pipe. It shows you how to read or write ASCII-8 bit characters (plain or locale-encoded), Unicode 16-bit characters, raw bytes, big endian binary, little endian binary, or serialised objects, buffered, unbuffered or gzip compressed.
|
Spinner 1.1 (Downloads: 321)
DateSpinner, hex and formatted dollar input for Java JSpinner. Spinner consists of source for classes for a DateSpinner and to add hex and
formatted dollar input/output for Java JSpinner to your own
Java programs.
Spinner offers two NumberFormatter classes you can use with
a JSpinner. One is HexNumberFormatter which lets your
JSpinner range over hex values. The other is
DollarNumberFormatter which lets your JSpinner range over
dollar values. It works better than JSpinner.NumberEd...
|