|
Advertisement
|
Forum posts by Hoody:Posted in Java Answers Forum, Sep 10, 2002, 5:26 PM
I just set up textpad with the new 1.4 documentation and everything and when i goto run a program it comes up with an error that says :Bad Command or File NameI know i set it up right because i followed the instructions word for word. I dont know what the problem is and i was hoping someone could help..thanx
Posted in Java Answers Forum, May 6, 2002, 3:20 PM
i was trying to do this program but i was having problems getting the binary search and merge sort to work i dont understand it that much and i was wondering if anyone could set me on the right path..aight the purpose is to read data from an input file of a set of names and telephone numbers. the program is supposed to hve lookups by name and...
Posted in Java Answers Forum, May 5, 2002, 7:16 PM
i was trying to do this program but i was having problems getting the binary search and merge sort to work i dont understand it that much and i was wondering if anyone could set me on the right path..aight the purpose is to read data from an input file of a set of names and telephone numbers. the program is supposed to hve lookups by name and...
Posted in Java Answers Forum, Apr 22, 2002, 12:11 AM
my fault it was my mistake when i changed the name saving it...thanx for ur help sorry about the confusion
Posted in Java Answers Forum, Apr 22, 2002, 12:04 AM
i took your code and ran it and it was the same layout as that i had orginally with the two number fields up top the subtract on top to the right and the add on the bottom in the center not subtract and add side by side on the bottom
Posted in Java Answers Forum, Apr 21, 2002, 7:52 PM
the layout is the same as that last code
Posted in Java Answers Forum, Apr 21, 2002, 1:04 AM
the problem i was having wasnt the way it worked it was the way the layout looked because it did not look to be user friendly it was kind of cluttered and i wanted to get the subtract to the bottom so its side by side with the add but i dont know how to do it
Posted in Java Answers Forum, Apr 20, 2002, 1:34 AM
any one know how i can make this look better like the text fields up top and the add and subtract on the bottom side by side or something? import java.awt.*; import java.awt.event.*; import java.util.StringTokenizer; import javax.swing.*; public class TextFieldTest extends JFrame implements ActionListener { private JTextField...
Posted in Java Answers Forum, Apr 8, 2002, 8:29 PM
yea i modifified and got mostly everything working... i was just wondering if someone knows if there is a method in the java class library or somewhere that strips punctuation from a string
Posted in Java Answers Forum, Apr 8, 2002, 3:18 PM
I had to design a program that reads a body of textfrom an input file, isolates the words in the textand writes them one per line to an output file thenput the wordlist in alphabetical order and have afrequency count for each word in the word list.now i had to use an array of objects so i madeanother class to use it from called WordsAndCount...
Posted in Java Answers Forum, Apr 8, 2002, 12:33 AM
I had to design a program that reads a body of text from an input file, isolates the words in the text and writes them one per line to an output file then put the wordlist in alphabetical order and have a frequency count for each word in the word list.now i had to use an array of objects so i made another class to use it from called...
Posted in Java Answers Forum, Mar 25, 2002, 12:21 AM
i was just fixing up the program and i was haveing a problem storing the words into a one dimensional array and not accepting duplicates...does anyone know an easy way to do this?
Posted in Java Answers Forum, Mar 21, 2002, 10:34 PM
i am supposed touse the string tokenizer so i can separte each word i put into the input file so it prints one word per line// Reads text from an input file one line at a time, breaks the line into words// Then prints each word to another file, one word per line.// from an input file.import java.io.FileReader;import...
Posted in Java Answers Forum, Mar 17, 2002, 10:33 PM
i fixed the problems i was having now im just working on the getWinner() method which is going to be real long i think......class TicTacToeBoard { private String[][] grid; private String Xwin = "The winner is X"; private String Owin = "The winner is O"; /** * Create a new tic-tac-toe board * @param n the size of an n x n board */ public...
|