String arg = "scratchpad:///0;pos=" + pos + 1;
System.out.println(arg);
out = Connector.openOutputStream(arg);
こう書けって言ったつもりなんだけど伝わらなかったか・・・