wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Conventions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Conventions" Watch "Conventions" New topic
Author

Conventions

Christian Long
Greenhorn

Joined: Oct 04, 2007
Posts: 28
I am creating an Applet with labels, buttons, textfields etc..

I have named my labels: lblEnter, lblOther ... my Buttons: btn....
(I have used conventions from in vb.net)

Are these conventions correct for Java as well ? or does Java use other conventions?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
I'm not aware of any widely followed naming conventions (except for how to use uppercase and lowercase), but you might be interested in Sun's Java Coding Conventions.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conventions