質問させてください。

JSpinner spin = new JSpinner();
int i = spin.getValue();

戻ってくるのがオブジェクトなんで入らないんです。。
どうやって変換すればよろしいのですか?