Free Support Forum - groupdocs.com

I would like use annotation library in desktop application. Is this possible?


#1

Hi,

I have a desctop Java application (GUI is made ​​with Swing). Can I integrate annotations in this application without server side?

Thanks in advance

#2
Hi, Alexey!

Thank you for the interest in GroupDocs. At the moment the library uses JavaScript for the communication with the UI. To integrate it in the desktop application the web component has to be used. By the way, what license type http://groupdocs.com/purchase/java-pricing/annotation you are interested to use with the GroupDocs.Annotation library?

#3

What exactly do you mean by

"To integrate it in the desktop application the web component has to be used"

Especially, what do you mean by “the web component”?

#4

I mean one of the components that allows to render web pages (HTML content with JavaScripts, CSS and, probably, some other web formats) like web browsers.

One option is to use Swing JEditorPane, but it has pure support of HTML.
Better is to use JavaFX WebView component. There are plenty of WebView usage in Swing application samples in the internet (i.e. SimpleSwingBrowser).
Another option is to search for some third-party class for this purpose.