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


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

Re: Jbutton and JLabel

Path csiph.com!usenet.pasdenom.info!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Jbutton and JLabel
Date Tue, 09 Dec 2014 12:53:59 -0500
Organization A noiseless patient Spider
Lines 10
Message-ID <m67cv8$nrh$1@dont-email.me> (permalink)
References <cec907d9-e353-47a2-9684-5255e437dd1b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 9 Dec 2014 17:53:44 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="24433"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0jZq4D3MuI1Qvj372xAwJ"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
In-Reply-To <cec907d9-e353-47a2-9684-5255e437dd1b@googlegroups.com>
Cancel-Lock sha1:mQwDzSukWvwE0zlUtV3U1IkscdU=
Xref csiph.com comp.lang.java.programmer:30532

Show key headers only | View raw


On 12/9/2014 12:52 PM, colmjkav@gmail.com wrote:
> for some reason the following does not compile. Compiker complains that "the method JLabel is undefined for QuizCardBuilder". How come this is happening? I see the method in javax.swing.*.
>[...]
>              JLabel qLabel = JLabel("Question:");

     JLabel qLabel = /* look: */ new /* see it? */ JLabel("Question:");

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Jbutton and JLabel colmjkav@gmail.com - 2014-12-09 09:52 -0800
  Re: Jbutton and JLabel Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-12-09 12:53 -0500
    Re: Jbutton and JLabel colmjkav@gmail.com - 2014-12-09 10:31 -0800
      Re: Jbutton and JLabel Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-12-09 13:56 -0500

csiph-web