You can just do txtUsername.getText() within actionPerformed(). Or didn't you use it as an inline class? Otherwise, I would say make getters so you can access the textfield with getTxtUsername();
(I would also make my attributes private because they now can be changed outside the class by other methods within the same package, but maybe that has a reason. Since your attributes are not private, you can maybe just access them from the class, welcomeForm.txtUsername).