Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [gef-dev] StackOverFlowError due to MouseMoved

gef
Discussion topic

Back to topic list

[gef-dev] StackOverFlowError due to MouseMoved

Reply

Author Martial Fol <martial at ncslab dot com>
Full name Martial Fol <martial at ncslab dot com>
Date 2003-06-02 00:17:35 PDT
Message I find the cause of the stackOverFlowError in GEF...
 
When the mouse moves in an Editor, the method MouseMoved is called.
This method creates a ToolTipText and show it with setToolTipText(String
tip) of the JPanel which contains this editor.
 
The swing method setToolTipText for a JComponent don't accept many calls
for the same component...
 
The stack increases each time this method is called until the
StackOverFlowError...
 
To avoid this error, you can delete the creation of ToolTipText or
change this method...
 
Martial Fol

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.486 / Virus Database: 284 - Release Date: 29/05/2003
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[gef-dev] StackOverFlowError due to MouseMoved Martial Fol <martial at ncslab dot com> Martial Fol <martial at ncslab dot com> 2003-06-02 00:17:35 PDT
Messages per page: