I am wanting to reference an object of type JTextField and convert it to JFormattedTextField. Is it possible to convert to a subclass? I tried coding something to the affect of
ClassA.object = new JFormattedTextField();
ClassA.object.setValue(new Integer(number));
But no success. Any suggestions?