D
D
dmitriyprog2018-08-27 13:54:16
Java
dmitriyprog, 2018-08-27 13:54:16

How to make selected text bold?

I have listener:

buttonBold.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {

            }
        });

Do I need to use mouselistner to take the coordinates of a piece of text that is selected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2018-12-14
kuzmin @sergueik

SWT has Class SelectionEvent
https://help.eclipse.org/neon/index.jsp?topic=%2Fo...
and
Interface SelectionListener
https://help.eclipse.org/neon/index.jsp?topic=% 2Fo...
I think it was copied into javaFx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question