File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
How to put a hypertext in JEditorPane
Combine two different JPopupmenu
Creating Browser Window ..
Problem while working with JPopupMenu
JPopupMenu or JMenu - neither is quite what I'm after.