Menu

#1 Corrects no display of cursor bug on OSX

open
nobody
None
5
2002-11-21
2002-11-21
Anonymous
No

Under OS X jbvi does not display the cursor. This was
fixed by calling the super class, EditorCaret, methods
paint and destroy in JBViCaret. New jar file is attached.

In file JBViCaret.java change the following methods:

protected synchronized void damage(Rectangle r) {
super.damage(r);
if(viDelegate.damage(this, r)) {
repaint();
}
}

public void paint(Graphics g) {
super.paint(g);
viDelegate.paint(g, getComponent());
}

Mark Burge burgemar@mail.armstrong.edu

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.