Re: How to use Multiview Top Component

Neil C Smith <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAHvRSod1PabW3FUSu1mAmd7KvvW7i0XoHxCDNcjrCfM_+BrubA@mail.gmail.com>
On 18 July 2016 at 18:24, Nuwan Sameera <[email protected]> wrote:
>
> But runtime error occurred saying
>
> java.lang.IllegalArgumentException: We expect CloneableEditorSupport in
> org.openide.util.Lookup$Empty@cce1139
>     at
> org.netbeans.core.spi.multiview.text.MultiViewEditorElement.<init>(MultiViewEditorElement.java:97)


Why are you using MultiViewEditorElement if you don't have an instance
of CloneableEditorSupport?  Are you providing a text editor in that
component?  If not, you probably want to write your own implementation
of MultiViewElement?

Best wishes,

Neil

-- 
Neil C Smith
Artist : Technologist : Adviser
http://neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
Digital Prisoners - interactive spaces and projections -
www.digitalprisoners.co.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.