Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

JMultilineTextEditor


The JMultilineTextEditor class is a JTextComponent backed by a small component which can be shown on one line.

jmultilinetexteditor
The text can be directly edited on the text field, or by editing a multiline dialog after clicking on the left button.
jmultilinetextdialog
Note that it is possible to customize the dialog itself by overriding the JMultilineTextEditor.createMultilineDialog() method.

Adding an import option

If is possible to add an import text (from a File) option to the dialog by calling the JMultilineTextEditor.setAllowImport(boolean) method. Additionnally, the following methods will allow to customize the import:
jmultilinetexteditor2

Categories: packages | swing

Copyright 2006-2024 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences