Showing results 1 to 34 of 34
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: Dio1080
Forum: Java 21 Days Ago
Replies: 1
Views: 317
Posted By Dio1080
Binary Search tree help in Java 98% complete

Ok, the code is almost done and I need help finishing up my delete function(between lines 51 to 71), I can't seem to figure out how to delete the 50 and the 20. Here is my code. BTW i'll list the...
Forum: Java Aug 29th, 2008
Replies: 3
Views: 422
Posted By Dio1080
Re: Linked List help

Thanks for the advice, btw the program was solved.
Forum: Java Aug 27th, 2008
Replies: 3
Views: 422
Posted By Dio1080
Re: Linked List help

its the delete function, something is not right, line 44...
Forum: Java Aug 27th, 2008
Replies: 3
Views: 422
Posted By Dio1080
Linked List help

The program compiles but is not run right can somebody help plz? There are two parts a class and a main.


public class LinkedList56 {

private class node{
int data;
node...
Forum: Java Aug 24th, 2008
Replies: 1
Views: 335
Posted By Dio1080
array out of bounds help

Im just trying to figure out why I have a array out of bounds that all can somebody help?

public class Life2 {

public static void main(String[] args) throws Exception{
boolean dead;
int winsX =...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 294
Posted By Dio1080
Re: Can't figure out error in OOP

ok, i uncommented out what I had commented, now I'm getting this error, truckinfo[i] = new Truck(); Vehicle.java:103: non-static variable this cannot be referenced from a static context, i tried...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 294
Posted By Dio1080
Re: Can't figure out error in OOP

ok, i fixed that, and it compiles but after i enter in a few things, it says, Exception in thread "main" java.lang.NullPointerException at Vehicle.main(Vehicle.java:112) but it worked for the vehicle...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 294
Posted By Dio1080
Can't figure out error in OOP

I can't figure out why it is saying (Vehicle.java:174: cannot find symbol) but there is a symbol, what is going on?

import java.util.Scanner;


public class Vehicle{
protected int hp;
protected int...
Forum: Java Mar 18th, 2008
Replies: 1
Views: 423
Posted By Dio1080
Help help with adding to a list

ok, i need help adding to a list after the list have been made. Its the only thing stopping me from getting this thing done, help please....


import java.util.Scanner;
import java.io.*;
import...
Forum: Java Mar 12th, 2008
Replies: 3
Views: 443
Posted By Dio1080
Help Need help with Object Oriented Programming

#1, Im tryin to get this bb code right, #2 I need help with finding the problem with me code, it is saying that my for loop is a illegal start type and also a identifer is needed, but I have no clue,...
Forum: Java Feb 1st, 2008
Replies: 1
Views: 778
Posted By Dio1080
Help Help: importing text file to a word doc using array

I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help...
Forum: Java Dec 4th, 2007
Replies: 6
Views: 738
Posted By Dio1080
Help Re: Turning my board from console to Message box

waoh woah woah, thanks for the help, but I like it simple, I only got to arrays in my book so, everything I did so far has been simple, nothing to advance, thats why I have about 3 to 4 pages of code.
Forum: Java Dec 4th, 2007
Replies: 6
Views: 738
Posted By Dio1080
Help Re: Turning my board from console to Message box

javax.swing.JOptionPane.showMessageDialog(null, "\n-------");

for (int i = 0; i < 3; i++) {
System.out.print("| ");
for (int j = 0; j < 3; j++)
System.out.print(spot[i][j] +...
Forum: Java Dec 4th, 2007
Replies: 6
Views: 738
Posted By Dio1080
Help Turning my board from console to Message box

My tic tac toe board is done, but I need it to show up in the Dialog box, not the console, how would I do that?
Here is my code:

javax.swing.JOptionPane.showMessageDialog(null, "\n-------");

...
Forum: Java Dec 4th, 2007
Replies: 2
Views: 343
Posted By Dio1080
Re: Need help with a method

solved it, things for the help thought
Forum: Java Dec 4th, 2007
Replies: 2
Views: 343
Posted By Dio1080
Help Need help with a method

can anybody see anything worng?

I'm returning these to the main
sO=ScoreO(O);
sX=ScoreX(X);

These are my two methods:

//method to tally the score for x
public static int ScoreX(boolean X){
Forum: Java Dec 3rd, 2007
Replies: 4
Views: 673
Posted By Dio1080
Help Re: making a counter using a two dimmensional array

Basically, this is all I need, well, need help starting off with, is when everytime the x wins, count and everytime the o wins count. Basiclly count up how many times player 1 and player 2 wins. My...
Forum: Java Dec 2nd, 2007
Replies: 4
Views: 673
Posted By Dio1080
Help making a counter using a two dimmensional array

I need help making a counter uusing a two dimmensional array. I'm doing a tic tac toe program and need about done, just need the counter and have no clue how to do it.
Forum: Java Dec 1st, 2007
Replies: 5
Views: 581
Posted By Dio1080
Help number coordinates help

I need help understanding why my code doesn't work while using number coordinates. I'm using a two dimensional array, I would like to post my code so you guys can check my errors, but I don't want...
Forum: Java Nov 19th, 2007
Replies: 0
Views: 1,133
Posted By Dio1080
Character input help!!!!

I need to this program to let me enter in an letters A B C or D so this program can run, why isn't this program not working, please help.
Here is my code:


public class DriversLicense{
public...
Forum: Java Oct 21st, 2007
Replies: 1
Views: 579
Posted By Dio1080
Question Making a table, help please

Hello, I need help making a table based off my tax code I made, the tax code was a little, but I need help with the table part also. The table should look like this:
Income Single Married Joint...
Forum: Java Sep 26th, 2007
Replies: 2
Views: 862
Posted By Dio1080
Question Re: Pattern Program help again

Ok I solved the last program, but I need on this one, I have no clue:

Ok, I need help on a for loop nested program using for loops, I'm trying to use a patten that goes like this:
123456
12345
...
Forum: Java Sep 26th, 2007
Replies: 2
Views: 862
Posted By Dio1080
Question Pattern Program help

Ok, I need help on a for loop nested program using for loops, I'm trying to use a patten that goes like this:
123456
12345
1234
123
12
1

but when I try it, it goes like this:
654321
Forum: Java Sep 10th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
News Re: If else statements on compatibility, I'm so confused here?????

ohhhhhhhh, ok, now I know, i'll try to remember that for a future reference, but once again, thanks for help. I'm just so mad that I almost rewrote the whole code using numbers to make things less...
Forum: Java Sep 10th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
Solution Re: If else statements on compatibility, I'm so confused here?????

yes, it works, but what do you mean by pattern matching, so far, its doing what I told it to do, like if the both say yes, then they like each other blah blah blah, but if I'm missing something, let...
Forum: Java Sep 10th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
Question Re: If else statements on compatibility, I'm so confused here?????

hmmmmmm, somehere, but, when you watch that clip it seems to work, do you have a clue to whats going on?
Forum: Java Sep 9th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
Question Re: If else statements on compatibility, I'm so confused here?????

before I click on the solve button, how were you guys able to get it to work, is it my software jgrasp or my complier, which works, how no clue, plus, I tried to zoom in as much as I could, hard to...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
Question Re: If else statements on compatibility, I'm so confused here?????

Do you either play or watch football? (Y/N) Y
Do you like going to the movies? (Y/N) Exception in thread "main" java.lang.NullPointerException
at Compatibility.main(Compatibility.java:33)

----jGRASP...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 1,324
Posted By Dio1080
Question If else statements on compatibility, I'm so confused here?????

I'm working on a code on compatibility and it seems that after I ask and answer the first question, the program just stops, I have no clue why it doesn't go on to ask the next question, can somebody...
Forum: Java Sep 5th, 2007
Replies: 4
Views: 685
Posted By Dio1080
Troubleshooting Re: I need help on displayingInput and Output

Also, did I do the code right or do I doing something wrong even though it is complete with no errors?
Forum: Java Sep 5th, 2007
Replies: 4
Views: 685
Posted By Dio1080
Question Re: I need help on displayingInput and Output

I fixed it up but it is still not working, what is wrong, there are no errors?????

It wont read in the command prompt

public class Interest {
public static void main(String [] args) {
...
Forum: Java Sep 5th, 2007
Replies: 4
Views: 685
Posted By Dio1080
Question I need help on displayingInput and Output

ok I have a program that is suppose to use dialogs boxes to obtain input and display output and also use console input an output. But here is the thing, I believe my code is a little right but don't...
Forum: Java Aug 29th, 2007
Replies: 3
Views: 1,756
Posted By Dio1080
Question Re: Converting uppercase to lowercase help????

Hmm ok, but another question, how would I do a single line for assigning all the letters A throw Z instead of making a command with 26 different lines of codes, in other words, shorting it up?
Forum: Java Aug 29th, 2007
Replies: 3
Views: 1,756
Posted By Dio1080
Question Converting uppercase to lowercase help????

Ok guys, I need help, I found a couple of examples but don't understand. None of the Java examples uses this method for Converting letters uppercase to lowercase:

int offset = (int) 'a' -(int)...
Showing results 1 to 34 of 34

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:38 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC