Article View: borland.public.jbuilder.java.swing
Article #10640Re: JComboBox - setSelectedItem doesn't work
From: Tor Iver Wilhelmsen
Date: Tue, 24 Aug 1999 00:00
Date: Tue, 24 Aug 1999 00:00
12 lines
998 bytes
998 bytes
Timothy Reaves <treaves@silverfields.com> writes: > Since the default for a String is the one defined > in Object Nope. String overrides equals() to first check for object equivalence, then checks whether the other object is a String, then whether they have the same length, then checks the characters in the base array until there is a mismatch. If there is no mismatch, it returns true, otherwise false. Do a "Browse Symbol" on java.lang.String to see for yourself.
Technical Details
Message-ID:
<uwvulaflf.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01beeb0e$8bc0f220$238eabc6@rtlaird> <37C1B817.417580B@silverfields.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,699b2bb1d7db8f99 X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: JComboBox - setSelectedItem doesn't work Date: 1999/08/24 Message-ID: <uwvulaflf.fsf@sds.no> X-Deja-AN: 516464896 Sender: towi@SDSA1761 References: <01beeb0e$8bc0f220$238eabc6@rtlaird> <37C1B817.417580B@silverfields.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing