(Article) Java WYSIWYG editor using SWT
Article : Java WYSIWYG editor using SWT
In all my travels across the world wide web, I have not encountered an elegant solution to an issue that I would have thought been a simple one. How can I embed a HTML ‘What You See Is What You Get’ (WYSIWYG) editor into a Java application. All the nice free HTML WYSIWYG editors, tend to use javascript and load from a webpage, such as TinyMCE and FCKEditor. This works fine for the J2EE world but application developers are left stranded. So after some research I decided that I would try using the SWT Browser Widget to render a TinyMCE WYSIWYG editor.
Download TinyMCE4Java v0.1
Download Here
Version 0.3 Notes:- Currently supports only Windows
- Requires internet connection to connect to a hosted copy of TinyMCE
- Contains Traverse listener fix for correctly handling Carriage Return
- See comments below by Christian Voigt for Firefox support
Requirements
To begin, you must have the SWT Plugin which is available from the eclipse website, download and integrate it with an existing java project, or create a new one. You will aslo need to download TinyMCE from their website...
Courtesy:- http://www.jumbabox.com/
- guru's blog
- Login to post comments
