Yin Yang Java Swing Program

I wrote this simple YinYang Java Swing Program in my CS202 class back in Spring 2008 at CalStateLA. I thought to share with all.

Code

Output

Here is the screenshot of output window.

YigYang

How to serialize and deserialize Java object to and from a flat file?

Runner Class

Example Class to Serialize

Download Controller – JavaEE Servlet

Here is small piece of java code to generate binary stream which tells browser to save file as attachment. I believe that this code will help java beginners to understand HttpServletResponse of the Servlets.

Read More: http://commons.apache.org/fileupload/