I can see the button by adding this line: acroForm.setNeedAppearances(true);
alternatively, set the appearance stream yourself. This is similar to the code to which I posted the link earlier today ( http://justpaste.it/CreateRadioButtons ). The stream is also to be in AP/N, here are the contents that Adobe sets after saving the file:
0 0 1 rg
0 0 100 20 re
f
0 0 1 RG
0.5 0.5 99 19 re
s
q
1 1 98 18 re
W
n
0 g
0 G
BT
/Helv 12.81 Tf
0 g
36.128 5.686 Td
(teste) Tj
ET
Q

