This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

arithmetic operations using applets

 
fatima zohra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
can anyone help me out with this problem?
" write an applet that asks the user to enter two floating-point numbers, obtains the two numbers from the user and drws the sum, product, diffrence and quotient of the two numbers".

i actually cannot execute the program even if it is simple :-(, donno why

if anyone can helpi i would be more than glad
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, which part is the problem? The creation of the GUI, the handling of events, the drawing of text strings, or the part about it being an applet? Let us know where you are stuck specifically, and we'll help you get going again.
(This seems to be an assignment of some sort, which you should be doing to learn Java, so we're not going to just do it for you - you wouldn't learn much from that.)
 
yassire SANIE
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually, the problem is about the part of being it an applet, and how and how i can make it run,

i have another request, i'm working with th version j2sdk1.4.1_03
but it's not working actually, which makes thigs worst :'( what should i do?
(i'm actually working on my own because the java course instructor's methodology in teaching is not that appropriate for biginners) :-(
 
fatima zohra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually, the problem is about the part of being it an applet, and how and how i can make it run,

i have another request, i'm working with th version j2sdk1.4.1_03
but it's not working actually, which makes thigs worst :'( what should i do?
(i'm actually working on my own because the java course instructor's methodology in teaching is not that appropriate for biginners) :-(
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"it's not working actually" does not tell us anything that might aid in helping you. What exactly is the problem? TellTheDetails.

The same goes for your question about the applet - what have you done, what does or does not work as you would expect it to, are there any error messages?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic