How to set the editor's background and overwrite the background image
val editorFactory = EditorFactory.getInstance()
val document = editorFactory.createDocument("abc...")
val editor = editorFactory.createViewer(document).apply {
backgroundColor = Color.RED
component.preferredSize= Dimension(300, 200)
}
JBPopupFactory.getInstance().createDialogBalloonBuilder(editor.component, null)
...
How to disable the editor' background image in Popup?
Please sign in to leave a comment.
There's no API way of doing this for now.
The idea was to cover the whole frame with an image, so no exclusions.
Thank you very much! Can you help me with this problem:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000720604-PasswordSafe-crashes-on-Linux