I tried @Override public void componentOpened() { Action action = FileUtil.getConfigObject("Actions/Window/org-netbeans-core-windows-actions-ShowEditorOnlyAction.instance", Action.class); action.actionPerformed(new ActionEvent(this, 0, "dummy")); }
in my TopComponent class of my netbeans platform app. (this class: https://github.com/datazuul/eazy-bookscanner/blob/main/core/src/main/java/com/datazuul/bookscanner/core/MainTopComponent.java ) sadly, no success. Where to place it? how to call it? On Tue, Dec 22, 2020 at 10:23 AM Patrik Karlström <pat...@trixon.se> wrote: > Better yet, don't use tabs! > > https://blogs.oracle.com/geertjan/farewell-to-space-consuming-weird-tabs > aka NoTabsTabDisplayerUI > > > Den mån 21 dec. 2020 kl 14:18 skrev Ralf Eichinger < > ralf.eichin...@gmail.com>: > > > > I am developing a netbeans RELEASE90 platform based application. > > all gui is placed in editor area. > > Is there a way to programmatically call "Show Only Editor" (like in the > > "view"-menu) > > on startup of application? > > > > > -- Ralf Eichinger Georg-Lindau-Str. 5 80634 München tel: 089 / 2375 6862 mobil: 0152 / 5368 5735 email: ralf.eichin...@gmail.com