On Wed, 2005-03-23 at 22:22 +0530, Mystifier wrote:
> Enjoy.
>  
> Mystifier
>  
> /*
>  * Created on Mar 18, 2005
>  * Added another pair of Text Fields
>  *
>  */

[...]

> import javax.swing.JTextField;
>  
> /**
>  * @author mystifier
>  *
>  */
> public class KeyPressExample extends JPanel  implements KeyListener {


While giving such complete code snippets, Mystifier, I think you also
ought to mention in the comments as to how you expect this code to be
used. i.e. the license under which you are providing this code. Lots of
newbies in the field are extremely clueless about these issues, and
blindly using unmarked code from the Net can land both themselves and
their employer in trouble any time.

While providing code snippets more than a few lines long, do mention
whether it is public domain, or copyrighted/copyleft-ed or the
conditions under which they can be used. 

A hint: most people might want to release the code in public domain to
be usable for any purpose - commercial or non-commercial, and optionally
all they might want is some acknowledgment in the code comments. 

:)

- Sandip



--
Sandip Bhattacharya    *    Puroga Technologies   *     [EMAIL PROTECTED]
Work: http://www.puroga.com   *    Home/Blog: http://www.sandipb.net/blog

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3



_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to