H
Hal Vaughan
I'm sure there's a term for how to do this, but I don't know what to search
under.
If I have an Object that could be a string or a Swing component or something
else, is there a way to find out what type of object it is? I know there
is Object.toString(), but if the object is a string, it just returns the
string. I'd like to be able to take an unknown object and determine what
it is.
Thanks!
Hal
under.
If I have an Object that could be a string or a Swing component or something
else, is there a way to find out what type of object it is? I know there
is Object.toString(), but if the object is a string, it just returns the
string. I'd like to be able to take an unknown object and determine what
it is.
Thanks!
Hal