I have a frame and inside it is a button (Show details). If I click on this button I am openning and reading a textfile and the contents are being loaded to a table object instantiated from a JTable Class loaded in another frame. I am always encountering StackOverFlow Error. What is suppose to be the problem in my code? How do I resolve this?
A stack overflow is typically caused by an endless recursion. Take a close look at the stack trace - you should see a repetition of always the same method calls going round and round. That's your problem.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus