File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conventions

 
Christian Long
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic