This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
JPopupMenu or JMenu - neither is quite what I'm after.
How to put a hypertext in JEditorPane
Problem while working with JPopupMenu
Combine two different JPopupmenu
Creating Browser Window ..