JTextField & JTextArea won't receive focus in a modal JDialog window
I have put some components including a JTextField and JTextArea in a sub-class of JDialog.
The problem is that the text field and text area components won't receive focus although they are set to be focusable, enabled and editable. Setting focus explicity through component.requestFocusInWindow() won't work either.
I am not able to replicate this problem through a small test program; so, can't produce the sample code here.
Please suggest what could be the reason(s) for this unexpected behavior? I am willing to provide any additional information that you may require to assist.