Code example for Preferences

Methods: putInt

0
   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();
      cameraComboBox_.removeAllItems();
      try { 
         StrVector cameras = MMStudioMainFrame.getInstance().getCore().getAllowedPropertyValues("Core", "Camera");
         Iterator it = cameras.iterator();