I'm not able to do user input. I want the program to make the difference in days between today's date and the date entered by the user. The program has more implementations but it's just that part that is not working.
private JTextField dataVencimento;
dataVencimento = new JTextField(20)
container.add(dataVencimento);
...
DateTime hoje = new DateTime();
DateTime dataVencimento = new DateTime();
Days daysBetween = Days.daysBetween(dataVencimento, hoje);
JOptionPane.showMessageDialog(null, "Dias de diferença: " + daysBetween,
"Atraso", JOptionPane.INFORMATION_MESSAGE);