jQuery in Action, 3rd edition
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
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Conventions
 
It's not a secret anymore!