Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2272
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Change decimal color code on the fly |
| Date | 2012-11-16 08:50 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <k85qrs$1o8$1@dont-email.me> (permalink) |
| References | <5509b9ea-041a-46e6-b788-2abe90fcb8e7@googlegroups.com> |
On 11/16/2012 8:05 AM, Bob wrote:
> mSet = redStr + greenStr + blueStr;
> System.out.println(mSet);//this is successful
> mSetx= "255255255";
>
> if (mSet == mSetx) {
Well, this will test that mSet and mSetx are the same object. If you
want to test that their contents are equal, use "equals." Also, try
learning the language, this is really fundamental.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 08:05 -0800
Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 11:49 -0500
Re: Change decimal color code on the fly markspace <-@.> - 2012-11-16 08:50 -0800
Re: Change decimal color code on the fly Nigel Wade <nmw@ion.le.ac.uk> - 2012-11-16 16:52 +0000
Re: Change decimal color code on the fly Roedy Green <see_website@mindprod.com.invalid> - 2012-11-16 10:14 -0800
Re: Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 10:39 -0800
Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 13:56 -0500
Re: Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 12:23 -0800
Re: Change decimal color code on the fly Lew <lewbloch@gmail.com> - 2012-11-16 12:38 -0800
Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 17:11 -0500
csiph-web