Skip to main content

Trying to Implement "Caret Browsing” Using JavaFX 2



I'm trying to write an application using JavaFX 2.0 that includes a web browser control that allows a user to navigate through the text and images on a HTML page using only the keyboard -- basically like "caret browsing" in Internet Explorer.





The goal is to be able to select bits of text or images and copy them to a variable for further manipulation without using a mouse.





I took a look at the HTMLEditor control here: http://docs.oracle.com/javafx/2.0/ui_controls/editor.htm#CHDBEGDD but I don't need any editing capability cluttering up the UI, and the documentation says:







The formatting toolbars are provided in the implementation of the component. You cannot toggle their visibility.







WebView seems like a logical choice ( http://docs.oracle.com/javafx/2.0/webview/jfxpub-webview.htm ), but I'm not sure how to get a cursor onto the page.





Any advice would be appreciated.


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?