My problem is that the textarea in the local inner class is not getting the value that i type when i run the code and click the get from the menu . It is supposed to take the value from the textarea and then print it on command line .
1. Always, always, to get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. That means eliminating all unrelated stuff such as setting fonts and borders, and removing unnecessary vertical white space. Remember, the shorter it is, the more members will read it.
2. Learn to use layouts correctly. That means no calls to setBounds(...). I'm sure you've been told this before.
3. Use meaningful variable names. Names like jta1, jep1, jfc1 aren't.
4. I don't see anywhere in the posted code that jta1 is added to the visible component hierarchy, so why does it surprise you that its text remains empty?
luck, db
There are no new questions, but there may be new answers.
Here is the bare minimum (doesn't work, but allows to see the problem) :
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)