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


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

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to eliminate warning: unchecked call to additem(E) java as a member of the raw type javax.swing.JComboBox
Date Thu, 30 Aug 2012 12:09:36 -0400
Organization A noiseless patient Spider
Lines 26
Message-ID <k1o36i$vlh$2@dont-email.me> (permalink)
References <e56859b3-9877-441e-9ad4-722ed744c8de@googlegroups.com> <9d55a43a-4981-45a5-b5e1-ac492ea60c8b@googlegroups.com> <k1o341$vlh$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 30 Aug 2012 16:08:50 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="6a6a291fa7e9c0bd872c1a9cbe2b371d"; logging-data="32433"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hgLb/c6aYZuAOJAi7xbFww1rVoXFBnIA="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120726 Icedove/3.0.11
In-Reply-To <k1o341$vlh$1@dont-email.me>
Cancel-Lock sha1:BPZYUUv3yG8TKJtv2DxhtjtY4r4=
Xref csiph.com comp.lang.java.programmer:18433

Show key headers only | View raw


On 08/30/2012 12:08 PM, Jeff Higgins wrote:
> On 08/30/2012 11:57 AM, clusardi2k@aol.com wrote:
>> So, is everyone in agreement that the warning can be prevented by
>> modifying the definition of the jcombobox and and not in this "additem".
>>
>> I created the jcombobox in NetBeans by dragging it from the swing
>> palette. The definition for it is in code produced by NetBeans and I
>> can't modify.
>>
>> What do I do.
>
> Forget Netbeans and learn Java.

or Mama.
>
>>
>> Below is the code that I can't change;
>>
>> private void initComponents() {
>> ...
>> jComboBox6 = new javax.swing.JComboBox();
>> }
>>
>> Thank you,
>

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