aspose file tools*
The moose likes Beginning Java and the fly likes Fixing a bug on Adding & Deleting an Array index Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Fixing a bug on Adding & Deleting an Array index" Watch "Fixing a bug on Adding & Deleting an Array index" New topic
Author

Fixing a bug on Adding & Deleting an Array index

Jere Johnson
Greenhorn

Joined: Mar 29, 2003
Posts: 28
My program does the general processing correctly.
By entering a character in the textField, i am able to Search for the character i am looking for and count how many times it appears in the array. The problem i am currently running into is that the character i search for in the array, gets added to an array index. I am also having the same issue entering "end" to finish the array.
I dont want this extra add "glitch" to happen. How can i manipulate this process, so that the character i search for is not added to my array?

Here is my program


Diapers are the best invention
Balaji Natarajan
Greenhorn

Joined: Dec 05, 2002
Posts: 28
Try this code...slightly modified urs....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fixing a bug on Adding & Deleting an Array index
 
Similar Threads
need help sorting a string array alphabetically
animation in scrollPane
need help with string array using methods
need help with string array using methods
Search for a single Character in a String Array