J2SE API Class Fields

Sorry if this is redundant.

Are int class fields assigned at random are is there a specific model underlying the assignment of certain numbers within each indiviual class.

The event class, for example, assigns the integers 1008-1019 to the variables F1-F12. Aside from grouping the function keys, is there a specific reason to start grouping them at 1008? For example, is this done to prevent overiding or conflicting class field values belonging to sub or super classes? super/sub interfaces? i.e. assigning the same int value to different and unrelated constants?

The project I'm working depends heavily on int class fields and I am just wondering if there are any specific conventions I could follow in assigning these numbers or should I just randomly pick numbers for it really doesn't matter?

Thanks all.

[850 byte] By [composite140S] at [2007-9-30 16:14:04]
# 1
You are free to do what ever you want. Anarchy reigns!
EvilEdna at 2007-7-5 23:45:55 > top of Java-index,Administration Tools,Sun Connection...