Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 11-01-07   #1 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Mar 2007
Posts: 112

Rep: 7 ecker Unknown
Unique Rep: 6
Trader Rating: 0
Default late night beginner JAVA help

hi, i'm a newbie to java..and i've been trying to do this part of my assignment forever...here is all the info!

Create a method named displayAllRoverData that returns a string that displays values for all instance variables for all rovers in a tabular format after data for all rovers is entered:

WHAT IT SHOULD LOOK LIKE:
http://img149.imageshack.us/my.php?i...ertablezq5.jpg


Rover Class:
http://rafb.net/p/sXAT2f15.html
ControlRovers Class:
http://rafb.net/p/fJc1yT88.html

i'll be up for awhile..tahnks for help if you can! aim me at e3chaos or xfire ecker

thanks
__________________
System: MY CPU
CPU
Q6600 G0 at 3.492
Motherboard
P5K-D
Memory
2gb Cruicial Ballistix 4-4-4-12
Graphics Card
EVGA 8000GTS 640mb
Hard Drive
2x320GB Seagate 7200.10 RAID0
Power Supply
Silverstone OP650
Case
ANTEC NINE HUNDRED
CPU cooling
Ultra 120mm Extreme w/ FM121
OS
Windows Vista Ultimate 32bit
Monitor
20" Syncmaster
ecker is offline   Reply With Quote
Old 11-01-07   #2 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Mar 2007
Posts: 112

Rep: 7 ecker Unknown
Unique Rep: 6
Trader Rating: 0
Default

well crap i'm so stuck
__________________
System: MY CPU
CPU
Q6600 G0 at 3.492
Motherboard
P5K-D
Memory
2gb Cruicial Ballistix 4-4-4-12
Graphics Card
EVGA 8000GTS 640mb
Hard Drive
2x320GB Seagate 7200.10 RAID0
Power Supply
Silverstone OP650
Case
ANTEC NINE HUNDRED
CPU cooling
Ultra 120mm Extreme w/ FM121
OS
Windows Vista Ultimate 32bit
Monitor
20" Syncmaster
ecker is offline   Reply With Quote
Old 11-01-07   #3 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Mar 2007
Posts: 112

Rep: 7 ecker Unknown
Unique Rep: 6
Trader Rating: 0
Default

how do i insert tabs in joptionpane.showmessagedialog? \t isn't working...
__________________
System: MY CPU
CPU
Q6600 G0 at 3.492
Motherboard
P5K-D
Memory
2gb Cruicial Ballistix 4-4-4-12
Graphics Card
EVGA 8000GTS 640mb
Hard Drive
2x320GB Seagate 7200.10 RAID0
Power Supply
Silverstone OP650
Case
ANTEC NINE HUNDRED
CPU cooling
Ultra 120mm Extreme w/ FM121
OS
Windows Vista Ultimate 32bit
Monitor
20" Syncmaster
ecker is offline   Reply With Quote
Old 11-01-07   #4 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,484

FAQs Submitted: 7
Folding Team Rank: 451
Trader Rating: 0
Default

for the '\t' issue instead of:
Code:
name + "t" + xposition + "t" + yposition + "t" + direction + "t" + speed + "n");

I might try this instead and see if it fixes your problem. I not remember how picky joptionpane was.
Code:
name + "    " + xposition + "    " + yposition + "    "+ direction + "    " + speed + "n");
might fix your problem.

EDIT: it took out all the backslash from the t's and n's. Whats that about? Just note they're still there. :^)
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 11-01-07   #5 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Mar 2007
Posts: 112

Rep: 7 ecker Unknown
Unique Rep: 6
Trader Rating: 0
Default

thanks i ended up just doing spaces
__________________
System: MY CPU
CPU
Q6600 G0 at 3.492
Motherboard
P5K-D
Memory
2gb Cruicial Ballistix 4-4-4-12
Graphics Card
EVGA 8000GTS 640mb
Hard Drive
2x320GB Seagate 7200.10 RAID0
Power Supply
Silverstone OP650
Case
ANTEC NINE HUNDRED
CPU cooling
Ultra 120mm Extreme w/ FM121
OS
Windows Vista Ultimate 32bit
Monitor
20" Syncmaster
ecker is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 03:25 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.27946 seconds with 8 queries