Welcome to Dream.In.Code
Become a Java Expert!

Join 149,478 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,520 people online right now. Registration is fast and FREE... Join Now!




calculator

 
Reply to this topicStart new topic

calculator

rockstar4cs
24 Apr, 2007 - 07:57 AM
Post #1

D.I.C Head
**

Joined: 16 Apr, 2007
Posts: 73


My Contributions
I'm making a calculator and in the JTextFeild my teacher wants me to make it so that like a regular calculator the first number u see when u turn it on is 0 how do I make the Jtextfeild show a 0

This post has been edited by rockstar4cs: 24 Apr, 2007 - 05:20 PM
User is offlineProfile CardPM
+Quote Post

PennyBoki
RE: Calculator
25 Apr, 2007 - 09:14 AM
Post #2

system("revolution");
Group Icon

Joined: 11 Dec, 2006
Posts: 2,010



Thanked: 7 times
Dream Kudos: 500
Expert In: Java,C++,C

My Contributions
How about with String s="0";
than just add it to the JTextField
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 03:55PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month