Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top