The editor component has two layouts, which should be chosen by the java API:
The editor should be adaptable to two layouts: