Quote:
anyone has a remote idea how you do that?
Well, as OriginalGriff says, it is not a good idea for an actual program. However, if you want to do it as an exercise in learning Java then it could be interesting. I would start at
The Java™ Tutorials[
^] which will lead you through all the steps necessary.