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


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

Re: Jbutton and JLabel

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Jbutton and JLabel
Date 2014-12-09 12:53 -0500
Organization A noiseless patient Spider
Message-ID <m67cv8$nrh$1@dont-email.me> (permalink)
References <cec907d9-e353-47a2-9684-5255e437dd1b@googlegroups.com>

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