LWJGL Forum
Programming => General Java Game Development => Topic started by: bobjob on May 23, 2008, 01:10:43
-
does anyone know why alot of custom api's have com. or org. at the start of there package directory?
-
It's the Sun-recommended package naming convention (http://java.sun.com/docs/books/jls/second_edition/html/packages.doc.html#40169):
You form a unique package name by first having (or belonging to an organization that has) an Internet domain name, such as sun.com. You then reverse this name, component by component, to obtain, in this example, com.sun, and use this as a prefix for your package names, using a convention developed within your organization to further administer package names.
-
cool thanx, now i think i actually remember that when i was learning java, but i skimmed over it, thinkn i would never make my own package :D