[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Programming Java threads in the real world, Part 7 - JavaWorld



Thanks, Richard. Working on the article:
  http://www.javaworld.com/javaworld/jw-04-1999/jw-04-toolbox.html
Learning on a steep curve.

What does it mean when he states that

  class Color_scheme
    ...
    /*package*/ synchronized change_color_scheme(
             Color foreground, Color background )
   
  Note that this is one of the few cases in which you must use 
  package access rather than an inner class.

Where is the package defined? (So, what is a package, anyhow..)

-- 

|=======================================|==========================|
| Oyvind Teig                           | oyvind.teig@xxxxxxxxxxxx |
| Navia Maritime AS, division Autronica | oyvind.teig@xxxxxxxxxxxx |
| 7005 Trondhem     |    http://www.navia.no | Tel:+47 73 58 12 68 |
| Norway            |http://www.autronica.no | Fax:+47 73 91 93 20 |
|===================|========================|=====================|