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
请先登录再写评论。
File editor is more powerful than JTextArea, and how to embed it into the custom panel in tool window?
请先登录再写评论。
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()