What error do you get ?

    Le mardi 22 décembre 2020 à 22:32:23 UTC+1, Ralf Eichinger 
<ralf.eichin...@gmail.com> a écrit :  
 
 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 EichingerGeorg-Lindau-Str. 580634 Münchentel: 089 / 2375 6862mobil: 0152 / 
5368 5735email: ralf.eichin...@gmail.com  

Reply via email to