1  2  3  >  »  

Submitted: January 7, 2006        Views: 14130
Use the arrow keys to move the image in eight different directions!
Submitted: November 4, 2009        Views: 3245
This method gets a char type parameter and returns a char type value as follows: * if the char is a lower case letter, it will return it's upper case. * if the char is an upper case letter, it will return it's lower case. * if the char is not a letter, it will return it as is.
Caesar Cypher in Java by krizjaz
Submitted: September 20, 2010        Views: 3933
Creates a coded message based on the number of shifts (input)
Submitted: December 23, 2009        Views: 2293
Creates either a greyscale plaintext ASCII image, or, for added awesomeness, creates a String containing HTML, which when written to a file and viewed in a browser, contains a full color ASCII'd copy of the original image!
Submitted: November 10, 2010        Views: 1727
finds the shortest path from a given start node to another node in the network
Equation Parser in Java by GWatt
Submitted: April 3, 2007        Views: 2629
A class to parse equations in algebraic notation.
Submitted: December 30, 2011        Views: 1288
Hi, This is the first time I've posted a snippet.I just thought I would post this code that I create.I found that their wasn't much information on the subject on how to rotate a graphic 360 degrees following and pointing in the mouse's location.
Submitted: July 23, 2010        Views: 6583
Using a CellRenderer to display whatever you want in a JTable
HTML Source in Java by m-e-g-a-z
Submitted: March 30, 2010        Views: 1699
Given a URL, stores each HTML line within an ArrayList
Submitted: December 20, 2009        Views: 3978
(in other words, make it negative)
Submitted: June 26, 2009        Views: 4317
A basic JavaME MIDP application. Displays the message "Hello Phone" and implements an Exit Command.
JTileButton in Java by Luckless
Submitted: July 13, 2010        Views: 1690
a specialized JButton that resembles a smooth game tile piece. This can be adapted for board games or menues
Submitted: April 16, 2008        Views: 1801
May be you want the Icon displayed in a JTree. Here is an example (the shortest I could make) showing how to do this.
Submitted: January 25, 2010        Views: 4268
This snippet determines if a number n has a diophantine equation, which is an equation solvable using only integers, given an array of ints.
Submitted: November 29, 2009        Views: 2732
This snippet allows the user to input an infinite amount of integer numbers until they enter a non-integer number. Then it gives the smallest number entered. This program uses only JOptionPane and incorporates error handling into the actual logic of the program.
Submitted: September 11, 2010        Views: 2617
This maximizes a JFrame to where the taskbar(s) still show, but the frame insets are ignored (like the border for the JFrame).
MD5 in Java by kmangold
Submitted: June 30, 2009        Views: 4731
It take an object as a parameter and calculates its MD5 hash based on the return value of the toString() method.
Submitted: November 18, 2010        Views: 2009
Creates an MD5 Checksum from a File-Object.
Submitted: October 23, 2009        Views: 4242
This example illustrates how memoization can be used to improve the speed of calculating fibonacci numbers recursively.
Move file in Java by mk.ranjan
Submitted: August 18, 2010        Views: 3005
Very often we come to work with files on application, and moving files from one location to another is very common requirement,below code is to move file from one location to another
MultiMap in Java by cfoley
Submitted: August 5, 2010        Views: 3650
A map which allows several values to be mapped to each key.
Submitted: February 28, 2010        Views: 2547
this snippet is able to create the multiplication table of any float number up to any float value specified by the user
Submitted: August 26, 2009        Views: 2633
Finds and prints every permutation of the inputted string. Demonstrates multithreaded applications.
Submitted: April 14, 2010        Views: 2132
This snippet finds the Nth root of a number using the definition e^(ln(x)/root)
Submitted: August 19, 2009        Views: 1398
Determines if a String of characters is a palindrome.
  1  2  3  >  »  


Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!