From: Max G. <gi...@li...> - 2000-02-03 13:08:09
|
Sven Goethel wrote: > Well, the protected access-specifier for the attributes : > GLFunc gl > GLUFunc glu > GLContext glj > are provided, because of the "privacy" and "read only" for foreign > packages. Privacy is obviously not always the case. > Well, I guess we can change protected -> public, > if we do not want to save the attributes from writing by foreign > packages Maybe a suggestion to Sun to introduce 'public readonly' modifier ;-) > - OR we can create a getGL(), getGLU() and getGLJ() method ! As you can see in the example, it would be neither elegant nor efficient (in terms of programmer's time). Although it's the 'political-correct' one :-) > So, please make your vote ! I'm for making it public. Simple and fast. Bye, Max |