Compiling-decompiling

after i create a class file by compiling another one can de-compile it and he can view the class name,private and other method names etc.i want to prevent it.how can i do this?
[183 byte] By [chamila1986a] at [2007-11-27 5:52:29]
# 1

i dont think this is possible.. wat is getting executed will be there in class file.. otherwise it will be better to write your program to work like a compiler and have the java file as a text file, such that your class file will be reading the java file(the txt file) and send it to compiler.. try, try, try, until you succeed :)

johngrga at 2007-7-12 15:43:32 > top of Java-index,Java Essentials,New To Java...
# 2
Google for java obfuscator if you really think someone would bother to try and decompile your code.
YoGeea at 2007-7-12 15:43:32 > top of Java-index,Java Essentials,New To Java...
# 3
What for? Unless you've written something blisteringly innovative - in which case you would probably already know how to obfuscate it - nobody is going to bother
georgemca at 2007-7-12 15:43:32 > top of Java-index,Java Essentials,New To Java...