aspose file tools*
The moose likes Java in General and the fly likes StackOverflowError in LinkFollower Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "StackOverflowError in LinkFollower" Watch "StackOverflowError in LinkFollower" New topic
Author

StackOverflowError in LinkFollower

okinrus N/A
Greenhorn

Joined: Nov 01, 2003
Posts: 3
Can anyone determ why first code does not have a StackOverflowError while the second one does? Tab and HistoryTracker are class with static members that gives an interface to a global JTabbedPane object and history tracking. The HyperScrollPane is a subclass of the JScrollPane and looks like this


Code 1:

Code 2:
okinrus N/A
Greenhorn

Joined: Nov 01, 2003
Posts: 3
Solved it. LinkFollower constructor was being called recursively.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: StackOverflowError in LinkFollower