aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes how to turn Observable to a String[][] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "how to turn Observable to a String[][]" Watch "how to turn Observable to a String[][]" New topic
Author

how to turn Observable to a String[][]

David George
Greenhorn

Joined: Aug 23, 2005
Posts: 10
public void update(Observable observable,Object object)
{
setRecords(String[][] records);
}

a String[][] was turned to observable,but i do not know how to turn the observable back to String[][].
Thank you for your response.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11509
    
  95

Hi Sheng,

You cannot turn an Observable into a String[][]. The first parameter (Observable o) is the object that called notifyObservers. It is the second parameter (Object arg) that corresponds to the argument you provided when you called notifyObservers(Object arg).

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to turn Observable to a String[][]