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


Groups > comp.lang.java.gui > #4876

Re: Scope of a JLabel? Also "unchecked operation"

From markspace <-@.>
Newsgroups comp.lang.java.gui
Subject Re: Scope of a JLabel? Also "unchecked operation"
Date Tue, 03 Jan 2012 11:05:45 -0800
Organization A noiseless patient Spider
Lines 21
Message-ID <jdvjic$iu6$1@dont-email.me> (permalink)
References <4f0350b3$0$2549$da0feed9@news.zen.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 3 Jan 2012 19:05:48 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="19398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18o3FgTCiyN8ATjLlWGubgYgwsS50w42AQ="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <4f0350b3$0$2549$da0feed9@news.zen.co.uk>
Cancel-Lock sha1:3suBbbzpVgQXno0rcMbbiCRQ4d4=
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!hal.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4876

Show key headers only | View raw


On 1/3/2012 11:02 AM, A B wrote:
> I'm quite new to Java, so I expect what I'm asking is fairly basic, but
> I can't find it in my Java book, so I'd be glad if someone could explain
> very simply what's the matter.
>
> 1)The program I'm writing is called Vectorine, never mind why. Lately I
> get this when I compile it: "[...]Vectorine.java uses unchecked or
> unsafe operations. Recompile with -Xlint: unchecked for details." It


If you're "quite new," it doesn't really matter yet.  You're probably 
using an older book as your guide, but what the compiler is complaining 
about is generics.

<http://docs.oracle.com/javase/tutorial/java/generics/index.html>

More on the rest of your post after I reformat your code to something I 
can read...


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


Thread

Scope of a JLabel?  Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-03 19:02 +0000
  Re: Scope of a JLabel?  Also "unchecked operation" markspace <-@.> - 2012-01-03 11:05 -0800
  Re: Scope of a JLabel?  Also "unchecked operation" markspace <-@.> - 2012-01-03 11:18 -0800
    Re: Scope of a JLabel?  Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-03 21:22 +0000
      Re: Scope of a JLabel?  Also "unchecked operation" markspace <-@.> - 2012-01-03 14:10 -0800
        Re: Scope of a JLabel?  Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-04 21:05 +0000
          Re: Scope of a JLabel?  Also "unchecked operation" markspace <-@.> - 2012-01-04 13:10 -0800
          Re: Scope of a JLabel?  Also "unchecked operation" "Gavino" <invalid@invalid.invalid> - 2012-01-05 19:54 +0100
            Re: Scope of a JLabel?  Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-12 18:51 +0000
  Re: Scope of a JLabel? Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-04 20:58 +0000
    Re: Scope of a JLabel? Also "unchecked operation" "A B" <@bleBaker.uk> - 2012-01-12 18:53 +0000

csiph-web