Naveen, I did that for a demo of visualizing emergency incidents (www.infoviz.biz/infoviz/demo/Emergency/Emergency.html).
What I did was to create a subclass of PickRotateBehavior. I used the processStimulus method which apparently gets all mouse movement events. Every time the mouse moved I did a pickCanvas.pickAllSorted() to find out what the mouse was looking at. If it was something that was associated with a pop-up (in my case an "incident"), I went back to the canvas and had it make a pre-existing Frame visible. If there was nothing under the mouse, I made the Frame invisible. I assume this is a fairly inefficient way to do this because of all the processing that goes on each time the mouse is nudged (I didn't want to require the user to click the mouse), but for me it was only a demo. Maybe someone will jump in here with a more efficient approach. -Allan Ash Software Arts, Inc. - the Information Visualization Company www.infoviz.biz ----- Original Message ----- From: Naveen Babu Chikkala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 4:25 PM Subject: [JAVA3D] is it possible to add swing Tooltip to java3D universe. > is it possible to add Tooltip to java3D universe. > > some shape3D objects i am displaying on the univers of 3D. if my mouse points any one of the shape3D objects i need to display some msg as Tooltip. is this possible in jav3D. > > Regards > naveen babu chikkala > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
