Can someone help me to display the Double type value in jTextField in Netbeans?
Printable View
Can someone help me to display the Double type value in jTextField in Netbeans?
What have you tried? Suggested reading:
How to Use Text Fields (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
How to ask questions
How to help yourself get help
i have tried to do it by using the statement:
jTextField2.setText(""+Amount);
where Amount is Double type value.
Thanks for your suggestion, it was much better.