Re: method to access the name of the object that got created.
- From: "Dimitri Kurashvili" <dimakura@xxxxxxxxx>
- Date: 28 Feb 2007 06:34:24 -0800
if you mean class name, not the name of the object, than use
"theObject.getClass().getName()" method.
Otherwise, as gordon says, you need to define additional field with
the name of your rectangle.
.
- References:
- method to access the name of the object that got created.
- From: Saiprasad
- method to access the name of the object that got created.
- Prev by Date: Re: Can Interfaces be mimicked with classes
- Next by Date: Re: How to dynamically create instance of .class
- Previous by thread: Re: method to access the name of the object that got created.
- Next by thread: [NETBEANS] How to display query result in a grid
- Index(es):