Commit 2e76fb046287849f8b5a21c818193101df64073d

Authored by Nathanael Jourdane
1 parent 8154d353
Exists in master

main panel: revalidate after setting size.

src/main/java/eu/omp/irap/vespa/epntapclient/gui/mainpanel/MainPanelView.java
@@ -101,11 +101,10 @@ public class MainPanelView extends JPanel { @@ -101,11 +101,10 @@ public class MainPanelView extends JPanel {
101 JSplitPane northPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, servicesPanel, 101 JSplitPane northPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, servicesPanel,
102 requestPanel); 102 requestPanel);
103 JSplitPane mainPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, northPanel, resultPanel); 103 JSplitPane mainPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, northPanel, resultPanel);
104 -  
105 add(mainPanel, BorderLayout.CENTER); 104 add(mainPanel, BorderLayout.CENTER);
106 105
107 - revalidate();  
108 setSizes(); 106 setSizes();
  107 + revalidate();
109 } 108 }
110 109
111 /** 110 /**