I have a JLabel and I want to get the text at a specific location using a mouselistener, so I want to get the word at a point on a jLabel.
I'm unsure if I'm able to use something else rather than a jLabel because I need html-compatibility and other conditions.
I tried to use a jTextArea once but I guess it didn't work as needed (I didn't work on the project for a while). Can anyone help me?