提交 5398cd1d 编写于 作者: M Mathieu Bastian

Fix bug when launching without Timelime component

上级 7a3e579f
......@@ -66,7 +66,6 @@ public class Installer extends ModuleInstall {
//WindowManager.getDefault().invokeWhenUIReady(new Runnable() {});
//Therefore use this:
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
//Get the main window of the NetBeans Platform:
......@@ -84,7 +83,6 @@ public class Installer extends ModuleInstall {
});
WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
@Override
public void run() {
JFrame frame = (JFrame) WindowManager.getDefault().getMainWindow();
......@@ -106,8 +104,8 @@ public class Installer extends ModuleInstall {
southPanel.add(statusLinePanel, BorderLayout.SOUTH);
if (bottomComponent != null) {
bottomComponent.setVisible(false);
southPanel.add(bottomComponent, BorderLayout.CENTER);
}
southPanel.add(bottomComponent, BorderLayout.CENTER);
frame.getContentPane().add(southPanel, BorderLayout.SOUTH);
}
// System.err.println(frame.getContentPane().getClass());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册