|
Im doping that
someone can give me some insight on the following issue: I am writing a java 2D imaging application that allows the
user to annotate crosses on top of a jpeg image (among allowing other image
manipulations as well). I have been
trying to implement a tooltip for each of the
annotations so that it will display some info about that particular annotation.
To do so, I created a class called crossAnnotation that extends JComponent,
thus allowing me use the setToolTipText method for
each crossAnnotation object. The problem however, is that when I add
the crossAnnoation(JComponent) obect
to the imageCanvas(JPanel)
where the image is drawn my whole program freezes. The program can’t seem
to handle the crossAnnotation being added to the imageCanvas as JComponent. Anyone know why? or
maybe how I can implement the toolTip in some other
way (but as far as I can se toolTip only works with JComponent)?
Any help would be greatly appreciated. Thanks Dave |
- [JAVA2D] tooltiptext Braun-Friedman, David
- [JAVA2D] tooltiptext Braun-Friedman, David
- Re: [JAVA2D] tooltiptext Dmitri Trembovetski
