Toolbar disappears after resizing window

107 Views Asked by At

I have a problem which I can't solve. The application uses a BorderLayout, north is the JToolBar, south status bar and in the center, there is the main frame. When I open a window, it appears in the center. When I want to resize the window manually via the resize-cursor, the toolbar vanishes and after closing the window, the toolbar appears again.

Main Frame with toolbar (red)

Here is the Main Frame without the toolbar

Without the toolbar

Is it maybe happening because of the ActionListener/event or the border layout itself?

I cant really show the code, because its a multi module code with long lines.

Has anybody experienced such a weird behaviour? Where should I start to solve this?

0

There are 0 best solutions below