3 Replies Latest reply on Dec 6, 2006 4:27 PM by DrClap


      Any ideas as to why a Component[] containing only JTextComponents can't be cast as a JTextComponent[]? I get a ClassCastException at runtime. I've checked the array before casting, and it really contains just JTextFields, JFormattedTextFields, and JPasswordFields. If the problem isn't something immediately apparrent that I just overlooked I'll provide more details later.