Code example for Preferences

Methods: putInt

   public DataProcessor<TaggedImage> getProcessor() { 
      return processor_;
   public void safePrefs() { 
      prefs_.putInt(FRAMEXPOS, this.getX());
      prefs_.putInt(FRAMEYPOS, this.getY());
    * updates the content of the camera selection drop down box 
    * Shows all available cameras and sets the currently selected camera 
    * as the selected item in the drop down box 
   final public void updateCameras() { 
      selectedCamera_ = MMStudioMainFrame.getInstance().getCore().getCameraDevice();
      try { 
         StrVector cameras = MMStudioMainFrame.getInstance().getCore().getAllowedPropertyValues("Core", "Camera");
Contextual code suggestions in your IDE  Get Codota for Java