Hi all first an apology if this question comes as a bit vague. But i am in the process of brain storming. What i would like to achieve: In IDEs like intelliJ or Eclipse, its possible to hover on certain text and the javadocs is displayed in the tooltips. I am trying to achieve that in my JSwing application.
For instance i have a bunch of POJOs with properties like
public class Person {
/**
* Some description about the field
*/
public int age;
}
Now my "age" field will be exposed in my JSwing application. And I would like to provided contextual tooltip based on the javadoc comment when a user hovers over.
I have an idea, which is to generate javadocs and parse the html as resources. However, I would like to hear some thoughts about this approach.
e.g.
http://www.eclipseonetips.com/wp-content/uploads/2010/08/unwanted-hover-tooltip-in-eclipse.jpg