Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

implementing a component like mouse over element in eclipse

 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse displays some components on the fly in it's editor (like to display documentation . .). what is that component ? Again it has some other controls in it. is it a container ?? or a component ??
How to implement that type of component??
EclipseMouseOver.JPG
[Thumbnail for EclipseMouseOver.JPG]
what is this component (?) in eclipse??
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JToolTip and ToolTipManager
The previous is the actual component which is displayed and you can subclass and play around to customize it.
The latter manages all tooltips in the system. If you want to display "eclipse" style components, you will find this class useful to control various parameters such as delays among other things.
 
Rob Camick
Ranch Hand
Posts: 2703
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess it is an undecorated JDialog.
 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hm. . .

i get the similar result by using an undecorated, unfocussable,modeless JDialog.

setUndecorated(true);
setFocusableWindowState(false);
default modal type is MODELESS.

Thank you,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!