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


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

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

Newsgroups comp.lang.java.programmer
Date 2012-08-30 08:03 -0700
Message-ID <e56859b3-9877-441e-9ad4-722ed744c8de@googlegroups.com> (permalink)
Subject How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox
From clusardi2k@aol.com

Show all headers | View raw


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,

Back to comp.lang.java.programmer | Previous | NextNext 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