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 2012-01-03 11:05 -0800
Organization A noiseless patient Spider
Message-ID <jdvjic$iu6$1@dont-email.me> (permalink)
References <4f0350b3$0$2549$da0feed9@news.zen.co.uk>

Show all headers | 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