View Single Post
  #8 (permalink)  
Old 01-24-2008, 07:18 AM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Btw, you can also incorporate gibson's class into the code you PMed me. That is, if you know how to instantiate objects, given the correct constructor and make calls to the class's methods. His code can make the concept of what you're trying to accomplish clearer via its OO characteristics.

I'll get you started on one integer.
Code:
... String sOne = JOptionPane.showInputDialog(null, "Enter Integer 1", "Input Dialog", JOptionPane.QUESTION_MESSAGE); ... MathData md = new MathData(sOne, ......); JOptionPane.showMessage(null, md.findSum()); ...
You've got less than an hour... get crackin!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)

Last edited by CaptainMorgan : 01-24-2008 at 07:21 AM.
Reply With Quote