Re: About JTextPane, Why "Not equal" ?
- From: "Andrew Thompson" <andrewthommo@xxxxxxxxx>
- Date: 31 Mar 2007 01:14:50 -0700
On Mar 31, 6:08 pm, "SadRed" <cardinal_r...@xxxxxxxxxxx> wrote:
On Mar 31, 4:50 pm, "Red Orchid" <windfollowcl...@xxxxxxxxx> wrote:
See this code.
I prefer SadRed's SSCCE (I had prepared one
of my own, but SR beat me to the punch!).
...
....I expected that "true" is printed. But the code above prints "false".
It does print "true".
Not here. Using your code (or mine),
Java 1.6.0, on WinXP, I get 'false'.
I suspect it has something to do with the 'null'
character attribute set, but am not sure.
What OS/Java are you running?
Andrew T.
.
- Follow-Ups:
- Re: About JTextPane, Why "Not equal" ?
- From: Tom Hawtin
- Re: About JTextPane, Why "Not equal" ?
- From: SadRed
- Re: About JTextPane, Why "Not equal" ?
- References:
- About JTextPane, Why "Not equal" ?
- From: Red Orchid
- Re: About JTextPane, Why "Not equal" ?
- From: SadRed
- About JTextPane, Why "Not equal" ?
- Prev by Date: Jframe
- Next by Date: Desktop Java app: 3D photo-sharing
- Previous by thread: Re: About JTextPane, Why "Not equal" ?
- Next by thread: Re: About JTextPane, Why "Not equal" ?
- Index(es):
Relevant Pages
|