Re: Brand new to Java student
- From: "Sandy" <sandy@xxxxxxxxxxxxxx>
- Date: 28 Jan 2007 12:00:27 -0800
On Jan 28, 2:47 pm, "Andrew Thompson" <andrewtho...@xxxxxxxxx> wrote:
On Jan 29, 6:24 am, "Sandy" <s...@xxxxxxxxxxxxxx> wrote:
I am taking a course and we are using Java as our language. I haven'tapplications, until you become used to the control
used Java before so I am VERY new.In that case, it is best to be coding command line
and looping structures, methods, attributes and
classes, variable scope and other things.
People approaching GUI devlopment should *not*
be describing themselves as 'VERY new'.
For some reason I cannot figure out how to tell what the 'value' of
the string is, although I can use the string. Here is my code:
<code>// compare the object references
public void actionPerformed(ActionEvent e)....
if(type == "C" || type == "c") // compare the string contentsif ( type.equals("C") || type.equals("c") )
....
Andrew T.
Well... I am very new to Java (I am quite used to vb.net which is VERY
different) I have now got a few hours with Java, a few years with
vb.net. My course is using Java to teach good class design so I must
learn the language.
Thanks for your help. I am sure I will be looking for more in the
future! ;)
.
- References:
- Brand new to Java student
- From: Sandy
- Re: Brand new to Java student
- From: Andrew Thompson
- Brand new to Java student
- Prev by Date: Re: New line in a JTextArea (student learning here)
- Next by Date: Re: How do you execute a JAR file?
- Previous by thread: Re: Brand new to Java student
- Next by thread: New line in a JTextArea (student learning here)
- Index(es):
Relevant Pages
|