How to embed file editor into tool window?
File editor is more powerful than JTextArea, and how to embed it into the custom panel in tool window?
Attachment(s):
embed_editor.PNG
Please sign in to leave a comment.
File editor is more powerful than JTextArea, and how to embed it into the custom panel in tool window?
Please sign in to leave a comment.
Maybe http://www.intellij.net/forums/thread.jspa?messageID=5217644 would help.
try using EditorFactory.createEditor()
it will get you an com.intellij.openapi.editor.Editor
its JComponent you can embed in your swing form - Editor.getComponent()