X-Received: by 10.224.18.132 with SMTP id w4mr1985119qaa.1.1365028411595; Wed, 03 Apr 2013 15:33:31 -0700 (PDT) X-Received: by 10.50.140.65 with SMTP id re1mr660509igb.13.1365028411528; Wed, 03 Apr 2013 15:33:31 -0700 (PDT) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ca1no28193465qab.0!news-out.google.com!ef9ni1264qab.0!nntp.google.com!ca1no28193454qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Wed, 3 Apr 2013 15:33:31 -0700 (PDT) In-Reply-To: <32362f98-0254-4534-b5c7-03c05878f880@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T NNTP-Posting-Host: 69.28.149.29 References: <32362f98-0254-4534-b5c7-03c05878f880@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <03369d1c-3353-44d8-a3a5-25e2244eaae3@googlegroups.com> Subject: Re: What is the import for a Layer From: Lew Injection-Date: Wed, 03 Apr 2013 22:33:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Lines: 38 Xref: csiph.com comp.lang.java.programmer:23231 clusa...@aol.com wrote: > I've got a project that doesn't reconize "Layer". Is there something that I can try importing to get past this error. Yes. But you need to provide complete information. What do you mean the 'project ... doesn't recognize "Layer"'? How do you know? What is 'Layer'? Is it a type? What package is it in? What JAR? You need either to fully qualify the type name or import that type according to the standard, basic, fundamental use of 'import', which would have been one of the earliest things you would have learned in Java. So if the package is, for example, 'com.example.foo.layer', and 'Layer' is a type within that package, you would refer to 'Layer' in source either as 'com.example.foo.layer.Layer' or use 'import' to allow you to use the simple type name elsewhere in your source module import com.example.foo.layer.Layer; public class YourClass { . . . Bar kabar = new Layer().framitz(); . . . } But you really have to explain what you mean and be precise about what you observe (such as error messages, etc.) to give anyone enough information to help you. Consider studying http://sscce.org/ and providing one. -- Lew