@Override protected void handleReady() { if (tornDown.get()) { return; } removeAll(); if (clusterModel.isReady()) { if (!inited) { addNodePanels(); } add(mainPanel); } else { messageLabel.setText(appContext.getString("cluster.not.ready.msg")); add(messagePanel); } revalidate(); repaint(); }
@Override protected void handleReady() { if (tornDown.get()) { return; } removeAll(); if (clusterModel.isReady()) { if (!inited) { addNodePanels(); } add(mainPanel); } else { messageLabel.setText(appContext.getString("cluster.not.ready.msg")); add(messagePanel); } revalidate(); repaint(); }
@Override protected void handleReady() { if (tornDown.get()) { return; } removeAll(); if (clusterModel.isReady()) { if (!inited) { addNodePanels(); } add(mainPanel); } else { messageLabel.setText(appContext.getString("cluster.not.ready.msg")); add(messagePanel); } revalidate(); repaint(); }
public void setup(ApplicationContext appContext, IClusterModel clusterModel, String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; mainPanel = createMainPanel(); messagePanel = createMessagePanel(); clusterModel.addPropertyChangeListener(clusterListener = new ClusterListener(clusterModel)); if (clusterModel.isReady()) { addNodePanels(); removeAll(); add(mainPanel); } else { add(messagePanel); messageLabel.setText(appContext.getString("cluster.not.ready.msg")); } }
public void setup(ApplicationContext appContext, IClusterModel clusterModel, String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; mainPanel = createMainPanel(); messagePanel = createMessagePanel(); clusterModel.addPropertyChangeListener(clusterListener = new ClusterListener(clusterModel)); if (clusterModel.isReady()) { addNodePanels(); removeAll(); add(mainPanel); } else { add(messagePanel); messageLabel.setText(appContext.getString("cluster.not.ready.msg")); } }
public void setup(ApplicationContext appContext, IClusterModel clusterModel, String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; mainPanel = createMainPanel(); messagePanel = createMessagePanel(); clusterModel.addPropertyChangeListener(clusterListener = new ClusterListener(clusterModel)); if (clusterModel.isReady()) { addNodePanels(); removeAll(); add(mainPanel); } else { add(messagePanel); messageLabel.setText(appContext.getString("cluster.not.ready.msg")); } }