Re: how to put focus inside JDialog with netbeans

2019-06-03 Thread Christoph Theis
Am 03.06.2019 um 16:28 schrieb Luis tuti: I have a JDialog created by Netbeans. How could I put focus in a jTextArea when I open the JDialog. I know after pack() method with jTextArea.requestFocus() works but in Netbeans can't modify initComponents() method. I put my code into the constructor

how to put focus inside JDialog with netbeans

2019-06-03 Thread Luis tuti
Hi, I have a JDialog created by Netbeans. How could I put focus in a jTextArea when I open the JDialog. I know after pack() method with jTextArea.requestFocus() works but in Netbeans can't modify initComponents() method. Thanks and sorry for my English!