Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4885
| From | "A B" <@bleBaker.uk> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| References | <4f0350b3$0$2549$da0feed9@news.zen.co.uk> <scope-20120104113206@ram.dialup.fu-berlin.de> |
| Subject | Re: Scope of a JLabel? Also "unchecked operation" |
| Date | 2012-01-04 20:58 +0000 |
| Message-ID | <4f04bd5c$0$2552$da0feed9@news.zen.co.uk> (permalink) |
| Organization | Zen Internet |
"Stefan Ram" <ram@zedat.fu-berlin.de> wrote in message news:scope-20120104113206@ram.dialup.fu-berlin.de... > "A B" <@bleBaker.uk> writes: >>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 doesn't >>seem >>to stop it running, though, when I comment out the bit that causes problem >>2). It didn't do it before I introduced some Swing components. What is >>this? Does it matter? > > Recompile with -Xlint: unchecked for details. Yes, but I don't know what that means. What's -Xlint when it's at home? Is it one of the gadgets in the JDK folder? And what does it do? >>2) The itemStateChanged method can't recognise a perfectly good JTextArea >>that I want it to output to, just keeps saying that there is no variable >>called "display". > > I recommend to first learn language fundamentals (such as > the different scopes of Java) in isolation before one > tackles GUI programming. Probably the best thing, if I had the patience, but anyway I've got it working now. -- A. B. ><> My e-mail address is zen177395 at zendotcodotuk, though I don't check that account very often. Post unto others as you would have them post unto you.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
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