This is an automated email from the ASF dual-hosted git repository.

ebakke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit ecb45997fed0b2e95b4103c6c1e4e102dbe2fbda
Author: Eirik Bakke <eba...@ultorg.com>
AuthorDate: Mon Jan 21 10:53:06 2019 -0500

    Fix missing revalidate after exiting Full Screen & Show Only Editor.
    
    This fixes a small bug that I observed in my NetBeans Platform application 
when
    running on Windows 10 with the NetBeans status bar disabled; it relates to 
my
    earlier patch for NETBEANS-731 "Hide (and auto-show) menu bar in full screen
    mode". This patch has been working in my IDE without issue for 6 months.
---
 .../src/org/netbeans/core/windows/EditorOnlyDisplayer.java             | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/platform/core.windows/src/org/netbeans/core/windows/EditorOnlyDisplayer.java 
b/platform/core.windows/src/org/netbeans/core/windows/EditorOnlyDisplayer.java
index 8c85262..884fd83 100644
--- 
a/platform/core.windows/src/org/netbeans/core/windows/EditorOnlyDisplayer.java
+++ 
b/platform/core.windows/src/org/netbeans/core/windows/EditorOnlyDisplayer.java
@@ -143,6 +143,9 @@ public class EditorOnlyDisplayer {
         JFrame frame = ( JFrame ) 
WindowManagerImpl.getInstance().getMainWindow();
         frame.setContentPane( originalContentPane );
         originalContentPane = null;
+        frame.invalidate();
+        frame.revalidate();
+        frame.repaint();
         setShowEditorToolbar( originalShowEditorToolbar );
         if( restoreFocus )
             restoreFocus();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to