Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Cathy Song

Ranch Hand
+ Follow
since Aug 24, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cathy Song

Hi All,

I have both Java 1.4.2 and Java 1.5 installed on my Windows XP machine.
How can I choose which version to use at run time? I have some applications which will run on Java 1.4 only.

Thanks,
Cathy.
15 years ago
Thanks Layne and Jeff

-Cathy.
15 years ago
Hi all,

Could someone please post an example of how
to use the comparable interface with java 1.5?

Thank you.
-Cathy.
15 years ago
Hi All,

Could someone please point out how to install Java 1.5 (or 5.0)
on a Mac machine?

Thanks,
Cathy.
16 years ago
Thanks Craig. I was setting the caret position in the wrong part of the code. When I added a focus listener and set it when the focus was gained, it worked great.

Thanks again!!

-Cathy.
16 years ago
Thanks Craig. But even that does not work.



-Cathy.
16 years ago
Hi All,

How can I set the caret position to where the user can enter words
in a jtextfield. Whenever the field becomes active I want to set the
caret position to the end of the string in the field.

setCaretPosition(getText().length()); -->does not work

Thanks,
Cathy.

[ July 20, 2004: Message edited by: Cathy Song ]
[ July 20, 2004: Message edited by: Cathy Song ]
16 years ago
Hey,

Is it possible to have multiple tree cell renderers
for a JTree? I want to be able to do something like below:

Tree
|---checkbox
|
|---radio button

I would really appreciate it if someone could provide sample
examples/code etc.

Thanks,
Cathy.
[ July 20, 2004: Message edited by: Cathy Song ]
16 years ago
Thanks for the reply..I guess what I am trying to say is that
private variables ARE inherited by the child class, but not
directly accessible.
The link you provided was excellent by the way.
Thank you.
[ April 22, 2004: Message edited by: Cathy Song ]
Hello All,
According to the spec, private variables of the parent are not *inherited* by the child class.
Now consider the following program:


If B does not inherit the private variable, how come
two different values are printed on lines 1 and 2?
Aren't objects b and b1 referring to the same variable of A?
Thanks,
Cathy.
Hi All,
I visited the Eclipse homepage, but was confused even further. I believe the entire IDE is not written in Java. So which parts are?
Please shed some light.
Thanks,
Cathy.

Originally posted by Bert Bates:
Hello!
We're working on that book right now! It will not be done in time for the beta exam, however we will be posting chapter-lets and some mock exams to assist those people studying for the beta. We will post on this forum as those materials become available. The original dates posted by Amazon have had to be moved to later dates because Sun delayed finalizing the specs.
Bert


Bert,
I am going to wait for your book to come out before I take this exam. I love Kathy and your style of writing. The occasional jokes are great
In the mean time, I guess I will start with Marty Hall's book.
Hi,
I've heard this is also pretty good.
Sams Teach Yourself Wireless Java with J2ME in 21 Days
by Michael Morrison.
[ December 03, 2003: Message edited by: Cathy Song ]
16 years ago
Congrats Sridevi ..
16 years ago