Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
2 Commented Posts
~15.7K People Reached
Favorite Tags
Member Avatar for KimJack

Hello all, I really need some help with this problem. I am writing a program that needs to count the number of words in a string display the longest word in that string display upper and lower cases and punctuations I have everything complete except displaying the longest and shortest …

Member Avatar for genext.brite
0
2K
Member Avatar for smagee12

Hello, I am new to these forums. My name is Sean. I am currently getting my CIS degree at Tulane University here in New Orleans. . I want to program, especially object oriented programming. The CIS degree at my college has two paths you can take. One is the "traditional …

Member Avatar for jephthah
0
801
Member Avatar for KimJack

For some reason this method prints out an extra integer at the bottom. For example: It is supposed to only print out 4 x4. 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Any idea how to remove the extra character? [ICODE] …

Member Avatar for quuba
0
112
Member Avatar for KimJack

Hi all, I wondering how to get started with this. I am working on a method that will take two ints. These ints represent positions in an arraylist of characters. I am trying to determine if the elements of the two positions are equal. If, so display the elements, if …

Member Avatar for masijade
0
151
Member Avatar for KimJack

Hi All, Is it possible to convert an arraylist of chars to an array? For example: ArrayList<Character> array = new ArrayList<Character>(); Can this be converted to an array of chars. I have tried using the toArray method but it is not working. Does anyone have any suggestions? Thanks, Kimjack

Member Avatar for BestJewSinceJC
0
224
Member Avatar for KimJack

Hi, This is a very simple question. Is it possible to print a one dimensional array into the shape of a grid? For example if I have the follow array: chars arrayofChars[] = {'A', 'B', 'C', 'D', 'E'...}; how can it be printed out as A B C D E …

Member Avatar for anupam_smart
0
158
Member Avatar for KimJack

Hello, I am working on a plain old simple text version of a memory game. The player will be able to match letters of the alphabet by clicking on various numbers. For example This is what the player will see: 123 456 789 but underneath that will be something like: …

Member Avatar for KimJack
0
166
Member Avatar for KimJack

Hi all, I have a quick question. Is this a proper way of using blackbox testing to test the stringTokenizer class? If not, would you provide a proper example that displays the pass or fail. [code] string = "cat, dog"; StringTokenizer token = new StringTokenizer(string, ","); if (token.countTokens() == 2) …

Member Avatar for BestJewSinceJC
0
120
Member Avatar for KimJack

Hi, I really hope that someone can give me a little advice. I am working on a program that reads a text file formatted as follows: Bike, Schwinn, 45.00 Car, Mercedes, 98,000 ... I am writing a program that will read this text file and write each item in a …

Member Avatar for KirkPatrick
0
117
Member Avatar for KimJack

Hello, I have a text file that is formatted as such: Volkswagen, 547, 9.78, 2 Mercedes, 985, 45.77, 35 ... I am trying to figure out how use the Scanner to read from the text file and store the information into an ArrayList of objects. ArrayList<Car> cars = new ArrayList<Car>(); …

Member Avatar for sneaker
0
3K
Member Avatar for KimJack

Hello all, I am trying to display time in the following format that represents hours and minutes: hh:mm [code] public String getTime() { String time = String.format("%tI:%tM", hours, minutes); return time; } [/code] For some reason I keep getting the following error: "The method format(String, Object[]) in the type String …

Member Avatar for Xhamolk_
0
192
Member Avatar for KimJack

Hello All, I really hope that you can help me. I am working on a program that will read a randomaccess file's contents and store the contents into an array. It will then update the array and write it back into the randomaccess file. I have the following two methods …

Member Avatar for kvprajapati
0
171
Member Avatar for KimJack

Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these …

Member Avatar for KimJack
0
74
Member Avatar for KimJack

Hello all, I have a problem that I hope some one can assist me with. I have a site done in html and css that also has swf files embedded. It works great on Internet Explorer, but Firefox is another story. The swf file is a page flipper and in …

Member Avatar for steve136
0
201
Member Avatar for KimJack

Hello All, I am fairly new at this but I am trying to add drop caps to each paragraph of text that will be included in a text scrollbar. I have tried eveything that I can think of. I created the text document in Adobe inDesign; however the file that …

0
47
Member Avatar for KimJack

Hi, I am working on a sort of stack calculator. If anyone can suggest a better method please advice: Basically, using the stringtokenizer to break the string into tokens. If the token does not equal "add" or "sub" or if the token is a digit push it onto the stack... …

Member Avatar for javaAddict
0
812
Member Avatar for KimJack

Hello All, How can I get the information that corresponds with the containsKey to be put into the hashtable. I am checking to see if a hashtable contains a key. If it does how can I put that key along with its value into a second hashtable. Snippet of code: …

Member Avatar for Ezzaral
0
111
Member Avatar for msnider9

Here is my code package prg420.week5; //Creates the package import java.util.*; class Grades { //Creates the class for the variables private double grade1; private double grade2; private double grade3; private double grade4; private double grade5; public void setGrade1(double val) { grade1 = val; } public void setGrade2(double val) { grade2 …

Member Avatar for KimJack
0
85
Member Avatar for KimJack

Hello All, I really hope that someone can provide some assistance. I have read a XML file into my hashtable. Next I created a second hashtable. If a key is located in my first hashtable, I want that key along with its value to be inserted into the second hashtable. …

Member Avatar for KimJack
0
90
Member Avatar for KimJack

Does any one know of any good websites that explain hash tables in great detail? Thanks

Member Avatar for ~s.o.s~
0
91
Member Avatar for KimJack

Hello All, I am using a stringtokenizer to divide a string while comparing each word in the string to a specific word and pushing it onto a stack. I can push it onto the stack with no problems; however, I cannot get it to find the specific word. for Example: …

Member Avatar for jwenting
0
68
Member Avatar for agenic

The question is "Where am I going wrong?" See my embedded comments above code starting point. I can get this to compile, but I can't get this loop through the amort, before I beign building (finishing the loop) I need to see if I can display a single line with …

Member Avatar for agenic
0
160
Member Avatar for KimJack

I have been using Eclipse for quite some time to program. I have been told that NetBeans is a little better. The problem that I am having is that I can't figure out how to get a program into NetBeans for further programming. Can anyone explain these steps? Thanks,

Member Avatar for Ezzaral
0
121
Member Avatar for KimJack

Hello All, I am using a stack to create a sort of calculator. My input string will be "5 6 add" I have to push 5, push 6, and when I get read "add" pop 5 and 6 and and push the answer. The question is after the string is …

Member Avatar for javaAddict
0
187
Member Avatar for KimJack

Hello All, I am trying to figure out how to write user input into a text file. I created a text box that the user can type his/her name into. I am trying to get the information from that text box to be written to the text file using print …

Member Avatar for KevinADC
0
64
Member Avatar for KimJack

Hello All, I am trying to use an image as a background. I am working with perl through putty .58 and am wondering how to get an image into a specific location in putty that can be used in a perl webpage? Thanks,

Member Avatar for jephthah
0
179
Member Avatar for KimJack

Can someone tell me how to correct this? [CODE]for(int i = 0; i < 7; i ++) { if(team.group.toys[i].getName().equalsIgnoreCase(name ) { team.insert(team.group.toys[i].getDescrip()); System.out.println("OK"); } } System.out.println("Is not included.");[/CODE] This is so simple that I cannot figure out what the problem is. I need "OK" to print if the getName() equals …

Member Avatar for KimJack
0
96
Member Avatar for KimJack

Hello All, I am working with an array of objects that contains names and descriptions. For example: Car : A blue jetta Pet : A small dog . . . My question is since it is an array of objects, how can I extract just the name "Car" or just …

Member Avatar for KimJack
0
96
Member Avatar for KimJack

Hello All, I am having a problem with removing a specific item from a linked list. Any advice would be great: Here are some snippets: private Node head; //the head node at the front of the list private Node previous; //element just before the current position private Node current; //refers …

Member Avatar for sohguanh
0
913
Member Avatar for KimJack

Hello All, I used a for loop to create a set of radio buttons. For example: for($i = 1; $i < 4; $i++) { print '<INPUT TYPE="radio" NAME="first" VALUE=$i >', " $i|"; } My question is how do I display which radio button was chosen if all of them have …

Member Avatar for KevinADC
0
184