The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

thanks...

Posted by confused on September 26, 2001 at 5:42 PM

I had that, but wasn't too sure if it was saving correctly. The idea is also that if a 00 is entered as the product code, then the current customer is finised and a new one begins.

thanks for the help.

I have this method to display the contents of the array, but am having a bit of trouble with it as well. I was trying to convert a similar method I had for a single dimensinal array to display a multi-dimensional, but got a little stuck with it.

public void displayItem(){
int i = 0;
int j = 0;

/* display.removeAll();
if (counter1<0){
display.add("No record in the array.");
}
for(i=0; i display.add(String.valueOf(purchase[i][j]));

}



Replies:
  • modify? Chin Loong September 27, 2001 at 3:46 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us