Showing search bar in a CloneableEditor inside a TopComponent
"Sam K. Raju" <[email protected]> Fri, 28 Nov 2025 20:51:32 +0400
| Newsgroups | gmane.comp.java.ide.netbeans.user |
|---|---|
| Message-ID | <CAOgdjHUZgO2crdx8xwQAuV8oh5Zqm+8jVC+qJBd4pTEPKHxWhA@mail.gmail.com> |
Hi,
In a NetBeans RCP application, is it possible to display JTabbedPane
control with multiple tabs and inside one of the tab, show a
CloneableEditor with mime type "text/plain".
My requirement is to use the OOTB find/search bar in the editor to search
the content.
I tried using JEditorPane in the tab and set EditorKit using
CloneableEditorSupport.getEditorKit("text/plain")
but it only display the editor and Ctrl-F does not work and search bar is
also not showing up.
Any suggestions?
/Sam