LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 269 users online 224223 members 321 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Scarlet Tears
Movies: The Univited was pretty good =] As was...
Mood: Worried
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
2 online / 27 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic i need help with JAVA programming...
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Iris outsider Posted at 10:08 am on Jan. 22, 2005
i have to write 3 JAVA programs for my computer programming class.....
anyone know the code for writing a mutilpication table????
and how to write a mouse listener method so that the mouse could drag the thing i draw in applet>??
thx a lot....

(Edited by Iris outsider at 12:12 pm on Jan. 22, 2005)

Replies
squirellplayingtag Posted at 12:07 pm on Jan. 22, 2005
I don't know the swingclass or anything graphical. But I learned.

System.out.print(Format.center(variable,5)
*Required apcslib.Format;

Iris outsider Posted at 11:45 am on Jan. 22, 2005
ok

for example i want the program to calculate x+y,where x has increment from 1 to 10,same with y.show the results in table format.
i would do this
for(x=1;x<=10;x++);
 for(y=1;y<=10;y++);
  double result=x+y;
tell me a segment of code to make it in table format.......
thx

squirellplayingtag Posted at 10:34 am on Jan. 22, 2005
Show me some code and I can help, but I'm not going to do it for you.
Iris outsider Posted at 10:22 am on Jan. 22, 2005
i plan to use for loop but dont know how to organize them as a table...
i wrote it before but i forget....
squirellplayingtag Posted at 10:19 am on Jan. 22, 2005
Multiplication table = basic nested for loops.
All 5 previous replies displayed.