TextField tf=new TextField("初期値");
try{
int parameter=Integer.parseInt(tf.getText());
}
catch(Exception e){
e.printStackTrace();
}
まーなんだ、これくらい調べような。
ってかGUIか・・・がんばれよ