School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 306,775 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,575 people online right now. Registration is fast and FREE... Join Now!



's Contributions
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
Steganography in Java Tutorials (Last Comment: William_Wilson, Views: 38,519)
Threads in Java Tutorials (Last Comment: William_Wilson, Views: 8,253)
String Tutorial in Java Tutorials (Last Comment: William_Wilson, Views: 10,413)
Removing a Dual Boot in Windows Tutorials (Last Comment: William_Wilson, Views: 4,022)
Code Snippets
Submitted: May 5, 2007        Views: 1565
dynamically create and display a link.
AJAX connection in JavaScript by William_Wilson
Submitted: April 4, 2007        Views: 2355
creates a connection for all browsers (Editted from origianl, located at: www.w3schools.com)
Submitted: October 28, 2006        Views: 6302
How to convert your .class into a web applet
Submitted: June 24, 2006        Views: 4637
How to create and pass through an array
Bit shifting in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 1812
There are 3 main ways and 2 directions to shift bits. As highlevel languages are not dependable (even if they support it) use ASM to do it for you.
Submitted: January 2, 2008        Views: 531
Sorts an integer array using Bubble Sort
Submitted: June 9, 2007        Views: 4415
Plays wav and similar audio/sound files using a buffered. The audio is also threaded.
Submitted: May 10, 2007        Views: 3480
Retrieves the byte[] data of an image.
Car in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 829
returns the first element of a list
Cdr in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 922
prints all but the first element, opposite of car
Submitted: May 5, 2007        Views: 3975
changes the background color to any 6 digit hex value.
Submitted: May 5, 2007        Views: 3254
Changes the color of all text using the class name supplied.
Submitted: May 5, 2007        Views: 6426
change text color based on the id value.
Submitted: May 5, 2007        Views: 3338
Changes the style of all text using the class name supplied.
Submitted: May 5, 2007        Views: 2302
change the text style by id value
Submitted: May 5, 2007        Views: 1257
Changes the weight of all text using the class name supplied.
Submitted: May 5, 2007        Views: 1289
change text weight by id value
Submitted: May 5, 2007        Views: 1277
function closes the window.
Commenting in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 1348
How to comment properly and universally in ASM
Submitted: June 24, 2006        Views: 5400
jumps based on a comparison (jne, je, jz, etc)
Cons in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 809
joins lists or items to a list
Submitted: July 12, 2006        Views: 6884
creates an empty text file on your server which can then be written to.
Submitted: November 18, 2007        Views: 680
Creates all necessary directories in the path hierarchy supplied.
Submitted: May 5, 2006        Views: 2105
filters to add to your JFileChooser
Submitted: June 7, 2006        Views: 7176
How to implement a resizable image with filler to display across the entire page
Submitted: March 29, 2006        Views: 13093
apply a transparent image over your images to prevent theft.
Submitted: April 8, 2006        Views: 4705
Have your site's iFrames displayed the same in all browsers.
Submitted: May 12, 2007        Views: 1319
takes the right bit and wraps it around to the left end, instead of shifting and filling with zeros
Submitted: May 12, 2007        Views: 1036
takes the left bit and wraps it around to the right end, instead of shifting and filling with zeros
Submitted: April 8, 2006        Views: 20972
How to impliment the decimal format class with an example
Submitted: June 24, 2006        Views: 1807
ASM does not care about contents, only the number of bytes to store them. Here's an example on how to define some commonly used items.
Submitted: December 13, 2006        Views: 738
How to implement delay and force to create streams.
Submitted: June 24, 2006        Views: 4822
Where to place operands and where results end up
Submitted: May 6, 2007        Views: 4080
Create a menu with the same style as the "Member Panel" on DIC. (Example including Javascript, CSS and HTML)
DUP command in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 3141
A repeating fill initializer
Submitted: May 4, 2007        Views: 4582
returns a word count to a supplied form item as the text changes.
Submitted: March 29, 2006        Views: 2030
Creation and Traversal of an Enumerated Vector
Submitted: October 6, 2006        Views: 877
even has become an internal function, here's how it works
Exponents in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 1244
returns the value of b^n
Submitted: October 6, 2006        Views: 997
since loops don't really exist here, cases and recursion become your best friends. This is a stupid example of finding the smallest of 3 numbers and returning the larger 2 squared and added together.
For loop in Scheme by William_Wilson
Submitted: January 3, 2007        Views: 2226
The common for loop implemented in scheme code
If Statement in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 4009
The if does not use the keyword if, but rather labels and equality statements
Submitted: July 12, 2006        Views: 2237
using php serverside resolving to protect your webpages
Submitted: June 24, 2006        Views: 2058
How to write assembly straight into a C program for a mix of high and low level coding.
Submitted: January 2, 2008        Views: 704
Sorts an integer array using Insertion Sort
Submitted: March 29, 2006        Views: 1939
Creation and Traversal
Submitted: May 5, 2006        Views: 5273
Includes a filter and actions based on selection
Submitted: January 2, 2008        Views: 824
An implementation of Kruskal's Minimum Spanning Tree Algorithm. Including an example implementation of Node, Edge, and Graph.
Submitted: November 25, 2006        Views: 2387
Allows a link to point within the same page eg: "To Top"
List in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 863
form lists, similar to arrays, without full functionality. lists become useful with cdr, car, and cons
Submitted: January 2, 2008        Views: 1192
Sorts an integer array using Merge Sort
Submitted: May 5, 2006        Views: 5366
sends your program to the taskbar.
Submitted: March 29, 2006        Views: 9549
Auto Aligning columns of a JList which act as a single row
Submitted: October 6, 2006        Views: 1494
solves multiplication in a log style number of steps, the process is also iterative, so that the environments are not kept in a recursive method
Submitted: May 5, 2006        Views: 1994
Read in an Object File
Submitted: May 5, 2006        Views: 2243
How to write complete objects to a file
Submitted: November 11, 2007        Views: 626
pass the id of the media element. It will be opened in a new window the size of the media supplied.
Pairs in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 726
everything works in pairs... for the most part, here are examples of how it works
Submitted: October 6, 2006        Views: 913
determines the pascal triangle value, from the triangle with the fomrula (n choose k)
Submitted: July 5, 2007        Views: 5993
re-creates the VC++ press any key to continue function without using System("PAUSE");
Submitted: November 11, 2007        Views: 362
pass the document to the function to remove all hyper links. Be sure to generate the document first to ensure all tags are picked up.
Submitted: May 12, 2007        Views: 1213
Java allows the values 0 to 127 in a byte, with a sign bit, without the unsigned keyword, a little trick to display a byte properly especially after shifting with all values: 0 to 255.
Quotes ' in Scheme by William_Wilson
Submitted: October 6, 2006        Views: 811
using the quote parameter to create strings and symbols without values
Submitted: July 12, 2006        Views: 4191
how to create images from text
Submitted: January 9, 2008        Views: 2836
This function is a standard recursive quick sort algorithm, which takes advantage of a random pivot. It is proven that for sets with considerably large input sets, that using a random pivot is more likely to yield better results, than a statically placed point.
Submitted: May 5, 2007        Views: 5617
removes the DOM element based on the id value.
Submitted: November 11, 2007        Views: 1204
pass the document to the function to remove all images. Useful for text based forums, to prevent unwanted image tags. Be sure to generate the document first to ensure all tags are picked up.
Submitted: November 11, 2007        Views: 342
pass the document to the function to remove all tags which have a source element. Be sure to generate the document first to ensure all tags are picked up.
Submitted: May 4, 2007        Views: 35395
Remove unwanted white space from a field.
Submitted: July 12, 2006        Views: 1702
gets 2 values from the user and returns the sum.
Submitted: May 5, 2006        Views: 2948
restores a window to it's on top state it had before being minimized.
Submitted: September 15, 2007        Views: 2548
Reverses a String in length/2 operations, with a mix between an insertion sort and a binary sort style algorithm.
Submitted: October 6, 2006        Views: 1021
multiplies through recursive additions
Submitted: May 4, 2007        Views: 3617
Replace one image with another when the mouse is over the image
Submitted: April 10, 2006        Views: 8272
*Oversight on screen capture
Submitted: April 10, 2006        Views: 6559
Use the Robot and Toolkit classes to get a screen shot.
Submitted: January 2, 2008        Views: 671
Sorts an integer array using Selection Sort
Submitted: May 8, 2007        Views: 858
creates single instances of a class to handle a single action event. (example uses jbutton and ActionEvent), but will work for all events and listeners.
Submitted: October 6, 2006        Views: 762
factorial example once again
Submitted: October 6, 2006        Views: 883
adds two numbers
Submitted: April 8, 2006        Views: 4490
Factorial! n*(n-1)*...*2*1
Submitted: September 15, 2007        Views: 809
Uses a simple swapping sort method. Which does not create any external arrays, variables at all. Simple math operations to swap the 2 values.
Submitted: October 6, 2006        Views: 7460
Uses a "good enough" method to determine the square root of any number to the accuracy required
Submitted: October 6, 2006        Views: 4355
find a square root with the newton method
Static Jump in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 1011
The jump statement used in a static context (jmp) code will be skipped to show this result
Submitted: May 12, 2007        Views: 1137
Returns a String of the 8 bits contained in a byte.
Template in Assembly by William_Wilson
Submitted: June 24, 2006        Views: 1683
The general outline for writting Assmebly Code
Submitted: May 5, 2006        Views: 6672
How to read in Text Files
Submitted: May 5, 2006        Views: 6581
how to write text files
Submitted: May 5, 2006        Views: 4410
Force a thread or entire program to 'sleep' or wait a defined length of time.
Threads in Java by William_Wilson
Submitted: May 12, 2006        Views: 1951
Dynamically create and run your threads, with minimal memory usage.
Submitted: May 5, 2006        Views: 3361
in simple code, or Exceptions that need not be thrown, Try/Catch/Finally blocks can come in handy
Submitted: September 23, 2007        Views: 3620
turns the capslock, numlock and scroll lock on or off as desired.
Submitted: June 1, 2007        Views: 11092
Decompresses a .zip file with the built in algorithm.
Submitted: July 12, 2006        Views: 4388
using a form and php to upload files to your server
Submitted: April 4, 2007        Views: 29159
also notifies the user of incorrect input, without a server connection, or annoying alert box.
Submitted: May 4, 2007        Views: 1482
Validate a Canadian Postal code with or without a space
Submitted: May 5, 2007        Views: 1361
Returns a string based on whether the postal code is valid or not.
Submitted: May 5, 2006        Views: 3307
extending class Exception to generate your own output messages
Submitted: June 1, 2007        Views: 2021
Compress a file using the built in Java zip algorithm. The Files are also compatible with WinZip and related applications.
Submitted: June 1, 2007        Views: 10387
Compressing a folder with the built in zip compression.