/** * Create the JMeter tool bar pane containing the running indicator. * * @return a panel containing the running indicator */ private Component createToolBar() { Box toolPanel = new Box(BoxLayout.X_AXIS); // add the toolbar this.toolbar = JMeterToolBar.createToolbar(true); GuiPackage guiInstance = GuiPackage.getInstance(); guiInstance.setMainToolbar(toolbar); toolPanel.add(toolbar); toolPanel.add(Box.createRigidArea(new Dimension(5, 15))); toolPanel.add(Box.createGlue()); toolPanel.add(testTimeDuration); toolPanel.add(Box.createRigidArea(new Dimension(5, 15))); toolPanel.add(warnIndicator); warnIndicator.setText("0"); toolPanel.add(Box.createRigidArea(new Dimension(5, 15))); toolPanel.add(activeAndTotalThreads); toolPanel.add(Box.createRigidArea(new Dimension(5, 15))); toolPanel.add(runningIndicator); return toolPanel; }