permaculture playing cards*
The moose likes Beginning Java and the fly likes Help with getting an array from a method.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help with getting an array from a method.." Watch "Help with getting an array from a method.." New topic
Author

Help with getting an array from a method..

Ashley Carey
Greenhorn

Joined: Jun 06, 2004
Posts: 2
Ok so, i have this code where i have 1 button linked to a method to calculate something(the method is in another class) and it returns an array with what it was supposed to calculate. then i have another method which needs to display all of it.. the thing i need help with is getting the thing it returned from 1 method into another.. i cant figure it out. .is there anything you can type to just make it read variables from other methods without having to make it return something?
Ashley Carey
Greenhorn

Joined: Jun 06, 2004
Posts: 2


this is the code.. the bottom one is the button that i need to use to display it.. i need to get the array that gets returned.. and put it into that second method....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with getting an array from a method..