This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Help with getting an array from a method..
 
jQuery in Action, 3rd edition