Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Eclipse Date: Thu, 29 Jun 2017 17:18:07 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <8b4bfc08-ccdb-40bf-a4f6-875d0cd9a058@googlegroups.com> <5314f277-558b-43d1-8564-460ab8dab26a@googlegroups.com> <1b033cbe-4bc2-497f-9c93-e6e90b75f39b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 29 Jun 2017 17:18:07 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="456cca9479e4e0ba4cfb08120301b474"; logging-data="28025"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SgZWLMMAf3DAtmxfImUc5v2rxyvT8vUQ=" User-Agent: Pan/0.141 (Tarzan's Death; 168b179 git.gnome.org/pan2) Cancel-Lock: sha1:sigOGGuEI8EqBf8QdEQiJGIsjGU= Xref: csiph.com comp.lang.java.programmer:36766 On Thu, 29 Jun 2017 06:05:31 -0700, Eric Douglas wrote: > I have some different types of JComponent classes which implement > MyCustomInterface, and some JComponent which do not implement. > I have a class level variable defined as ArrayList. > Shouldn't you be using the name of the class that implements the MyCustomInterface Interface rather than the name of the Interface? -- martin@ | Martin Gregorie gregorie. | Essex, UK org |