Examples of StatusBar


Examples of com.mucommander.ui.main.StatusBar

        setLabel(Translator.get(visible?Descriptor.ACTION_ID+".hide":Descriptor.ACTION_ID+".show"));
    }

    @Override
    public void performAction() {
        StatusBar statusBar = mainFrame.getStatusBar();
        boolean visible = !statusBar.isVisible();
        // Save the last status bar visible state in the configuration, this will become the default for new MainFrame windows.
        MuConfigurations.getPreferences().setVariable(MuPreference.STATUS_BAR_VISIBLE, visible);
        // Change the label to reflect the new status bar state
        updateLabel(visible);
        // Show/hide the status bar
        statusBar.setVisible(visible);
        mainFrame.validate();
    }
View Full Code Here

Examples of com.openzoeos.status.StatusBar

        createHelpMenu();
        finalizeMenus();
    }

    private void createStatusBar() {
        StatusBar statusBar = new StatusBar();

        /*
        final LabelStatusBarItem label = new LabelStatusBarItem("Line");
        label.setText("100:42");
        label.setPreferredWidth(60);
        label.setAlignment(JLabel.CENTER);
        statusBar.addDesktopElement(label, JideBoxLayout.FLEXIBLE);
        */

        /*
        final OvrInsStatusBarItem ovr = new OvrInsStatusBarItem();
         ovr.setPreferredWidth(100);
         ovr.setAlignment(JLabel.CENTER);
         statusBar.addDesktopElement(ovr, JideBoxLayout.FLEXIBLE);
        */

        //final TimeStatusBarItem time = new TimeStatusBarItem();
        //statusBar.addDesktopElement(time, JideBoxLayout.FLEXIBLE);

        final MemoryStatusBarItem gc = new MemoryStatusBarItem();
        gc.setPreferredWidth(100);
        statusBar.add(gc, OpenZoeosBoxLayout.FIX);

        getContentPane().add(statusBar, BorderLayout.AFTER_LAST_LINE);
    }
View Full Code Here

Examples of com.ribomation.droidAtScreen.gui.StatusBar

    setTooltip("Tries to restart the ADB server. Unplug your device(s) first.");
  }

  @Override
  protected void doExecute(final Application app) {
    final StatusBar statusBar = app.getAppFrame().getStatusBar();
    statusBar.message("Restarting ADB...");

    SwingUtilities.invokeLater(new Runnable() {
      @Override
      public void run() {
        app.disconnectAll();
        boolean succeeded = app.getDeviceManager().restartADB();
        statusBar.message("ADB restart " + (succeeded ? "succeeded" : "failed"));
      }
    });
  }
View Full Code Here

Examples of com.ribomation.droidAtScreen.gui.StatusBar

    }
  }

  @Override
  public void run() {
    final StatusBar statusBar = getApplication().getAppFrame().getStatusBar();
    try {
      do {
        ScreenImage image = images.take();
        File file = nextName();
        ImageIO.write(image.toBufferedImage(), format, file);
        getLog().info("Screenshot saved " + file);
        statusBar.message("Saved %s", file.getName());
      } while (capturing.get());
    } catch (InterruptedException ignore) {
    } catch (IOException e) {
      getLog().warn("Failed to save image: " + e);
    } finally {
      device.setRecordingListener(null);
      capturing.set(false);
      images.clear();
      runner = null;
      images = null;
      device = null;
      SwingUtilities.invokeLater(new Runnable() {
        @Override
        public void run() {
          setIcon("record");
          statusBar.message("Recording stopped. %d images saved.", next.get());
        }
      });
    }
  }
View Full Code Here

Examples of com.sun.java.swing.ui.StatusBar

    private JTable     table;
    private java.util.List listeners;

    public ObjectHistogramPanel(ObjectHistogram histo) {
        dataModel = new ObjectHistogramTableModel(histo);
        statusBar = new StatusBar();

        table = new JTable(dataModel, new ObjectHistogramColummModel());
        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        table.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent evt) {
View Full Code Here

Examples of com.sun.java.swing.ui.StatusBar

      splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, topPanel, bottomPanel);
      splitPane.setDividerLocation(0);

      setLayout(new BorderLayout());
      add(splitPane, BorderLayout.CENTER);
      statusBar = new StatusBar();
      add(statusBar, BorderLayout.SOUTH);
      toolBar = new ClassBrowserToolBar(statusBar);
      add(toolBar, BorderLayout.NORTH);
      registerActions();
   }
View Full Code Here

Examples of gov.nasa.worldwind.util.StatusBar

            this.labelsLayer = new RenderableLayer();
            this.labelsLayer.setName("Labels");
            insertBeforeLayerName(this.wwd, this.labelsLayer, "Compass");

            // Add the status bar
            StatusBar statusBar = new StatusBar();
            this.getContentPane().add(statusBar, BorderLayout.PAGE_END);

            // Forward events to the status bar to provide the cursor position info.
            statusBar.setEventSource(this.wwd);

            // Setup a select listener for the worldmap click-and-go feature
            this.wwd.addSelectListener(new ClickAndGoSelectListener(this.wwd, WorldMapLayer.class));

            // Call javascript appletInit()
View Full Code Here

Examples of jSimMacs.display.StatusBar

    centerPane.setDividerLocation(120);
    messagePane.setDividerLocation(500);

    content.add("Center", messagePane);
    content.add("South", new StatusBar());

    addLocalProjectsRun();

  }
View Full Code Here

Examples of jpa.tools.swing.StatusBar

        toolBar.add(Box.createHorizontalStrut(2));
        return toolBar;
    }
   
    private StatusBar createStatusBar() {
        return new StatusBar();
    }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.util.StatusBar

    }

    LANGUAGE.HTML.setDefaultStyles(new Font("Courier New", Font.PLAIN, 12));
    LANGUAGE.JAVA.setDefaultStyles(new Font("Courier New", Font.PLAIN, 12));

    this.statusBar = new StatusBar();
    this.ruleContainer = new RuleContainer(this);
    this.rulePackageContainer = new RulePackageContainer(this);
    this.associationsContainer = new AssociationsContainer(this);

    this.treePane = new TreePane(this, this.ruleContainer, this.rulePackageContainer);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.