< prev index next >

src/java.desktop/share/classes/java/beans/NameGenerator.java

Print this page

        

*** 34,44 **** * A utility class which generates unique names for object instances. * The name will be a concatenation of the unqualified class name * and an instance number. * <p> * For example, if the first object instance javax.swing.JButton ! * is passed into <code>instanceName</code> then the returned * string identifier will be &quot;JButton0&quot;. * * @author Philip Milne */ class NameGenerator { --- 34,44 ---- * A utility class which generates unique names for object instances. * The name will be a concatenation of the unqualified class name * and an instance number. * <p> * For example, if the first object instance javax.swing.JButton ! * is passed into {@code instanceName} then the returned * string identifier will be &quot;JButton0&quot;. * * @author Philip Milne */ class NameGenerator {
< prev index next >