Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18429

Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox

Received by 10.66.83.40 with SMTP id n8mr727680pay.42.1346341131993; Thu, 30 Aug 2012 08:38:51 -0700 (PDT)
Received by 10.68.135.103 with SMTP id pr7mr1108541pbb.7.1346341131938; Thu, 30 Aug 2012 08:38:51 -0700 (PDT)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!r4no5868502pbs.0!news-out.google.com!a8ni100059889pbd.1!nntp.google.com!4no28670959pbn.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Thu, 30 Aug 2012 08:38:51 -0700 (PDT)
In-Reply-To <e56859b3-9877-441e-9ad4-722ed744c8de@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=210.210.79.19; posting-account=Qa3isAoAAAAKchHjKGTJqsKSSnZ6Pn8D
NNTP-Posting-Host 210.210.79.19
References <e56859b3-9877-441e-9ad4-722ed744c8de@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <9a8b27f1-c9fa-4a68-855f-aeae9c72d64d@googlegroups.com> (permalink)
Subject Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox
From Shyam <shyam.k.kotnana@gmail.com>
Injection-Date Thu, 30 Aug 2012 15:38:51 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:18429

Show key headers only | View raw


On Thursday, August 30, 2012 8:33:28 PM UTC+5:30, (unknown) wrote:
> Without removing warnings in general, for the below code, how can I remove the below warning.
> 
> 
> 
> jComboBox6.addItem("Big rock");
> 
> 
> 
> Warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox
> 
> 
> 
> Thank you,

Just inherit it from the actual one!

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox clusardi2k@aol.com - 2012-08-30 08:03 -0700
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Jeff Higgins <jeff@invalid.invalid> - 2012-08-30 11:31 -0400
    Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox sameer k <sameer12982@gmail.com> - 2012-09-06 14:21 -0700
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Shyam <shyam.k.kotnana@gmail.com> - 2012-08-30 08:38 -0700
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-30 11:40 -0400
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Jeff Higgins <jeff@invalid.invalid> - 2012-08-30 11:52 -0400
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Jeff Higgins <jeff@invalid.invalid> - 2012-08-30 12:08 -0400
    Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Jeff Higgins <jeff@invalid.invalid> - 2012-08-30 12:09 -0400
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-30 13:18 -0400
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Roedy Green <see_website@mindprod.com.invalid> - 2012-09-02 14:06 -0700
  Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox Roedy Green <see_website@mindprod.com.invalid> - 2012-09-03 18:14 -0700

csiph-web