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.
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!
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.
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.
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