Code example for Preferences

Methods: getInt

0
	public void setMinimized(boolean b) {
		_prefs.putBoolean("minimized", b);
	} 
	 
	public int width() { 
		return _prefs.getInt("width", 700);
	} 
	 
	public void setWidth(int v) {
		_prefs.putInt("width", v);
	} 
	 
	public int height () { 
		return _prefs.getInt("height", 400);
	} 
	 
	public void setHeight(int v) {
		_prefs.putInt("height", v);
	} 
	 
	public int x() {