• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

FCKeditor in java desktop application  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!

I was wondering if it's possible to use FCKeditor in java desktop application? I basically just want to add to my jpanel some HTML WYSIWYG editor. Is there a way to do that with FCKeditor or is there another component that does that?

Thanks
 
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never used the FCKEditor so am not really aware about it.

As a rule, you can add to a container any child which is of the java.awt.Component type. So if your CFKEditor component subclasses the Component, you can do it.

Swing provides HTML support (to some extent) via the JEditorPane. There might be something in there, but I am afraid, you will end up replicating the whole CFKEditor functionality. If you want a preview kind of functionality (and not the full blown IDE style editor), you can make use of the JEditorPane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!