I am coding a gui and I wanted to use JFormattedTextField to verify my Input as double value, but the amountFormatter does not give me the right input I typed in back. So I tried to create an own Formatter with ("##########") which gives me a number with 10 digits, BUT i cannot verify double values(because they usually have a '.' in it)...
So my question is: How to simply verify double Values with Jformatted TextFields, or is there a much easier way with another Swing Component?
UPDATE Thx for your great answers!!! But is there possibly a solution with JFormatted TextField?