java - Swing JTextPane in javafx -


i'm looking rich textarea in javafx. have tried richtextfx component tomas mikula buggy needs.

i thinking whether possible plug in swing jtextpane using swingnode class.

so far works in, can see text in jtextpane , jscrollpane around works. mouselistener on jtextpane seems triggered correctly mouse events other that...nothing works.

there no cursor indicating current position, no way "click" mouse change position, select text,...

key events don't arrive (using keylistener)

is possible use jtextpane in javafx , if so, missing?

currently know workaround problem.
node.setonmousereleased(event -> node.requestfocus());
(node swingnode).
used mousereleased mimic same behavior standard fx nodes.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -