have the text clickable
What does "clickable" mean? Do you want an event when the text is clicked on?
Is the text part of an image, not a String you are adding to a component?
Where and what is the text and what kind of component is the text in?
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
You could use a mouseListener on the component holding the image and get the x,y location of the mouse click and compare it to the location of the text on the image. Use a photo editor to map out the rectangles around the parts you want to be able to click on.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16