Sreekanth Karumanaghat
Sreekanth Karumanaghat

Reputation: 3403

How to give hint for jEditorPane?

How can I give hint for jEditorPane in Java, I am using NetBeans ide? I don't see any property in the jEditorPane, what can be done in this respect?

Upvotes: 0

Views: 181

Answers (1)

Tim B
Tim B

Reputation: 41208

By hint you mean a tooltip?

editor.setToolTipText("Tooltip here");

You should be able to find a toolTipText property in the properties for the pane.

Upvotes: 2

Related Questions