Results 1 to 2 of 2
- 12-21-2008, 07:24 AM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
Trouble implementing part of code into GUI
Hiya, Im trying to create a simple GUI for an inventory program and I have completed the first frame and it works and all...Im having a really big problem trying to figure out how to create a second frame that will have the output just like the original code did. This is the cade im trying to implement into a second frame
Thanks for any help/suggestionsJava Code:for (int counter = 0; counter < 5; counter++) { System.out.printf(inventory[counter].toString()); //way to print out //added two lines to get one-by-one BLG System.out.println("Please press enter to see the next item..."); input.nextLine(); } // end for
-
Cross-posted here.
To the original poster, cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to not do this, but if you feel that you absolutely must, to at least provide links in both cross-posts to each other.
Similar Threads
-
Trouble compiling code
By waelhelbawi in forum New To JavaReplies: 1Last Post: 05-12-2008, 04:25 AM -
How to get part of a String?
By eva in forum New To JavaReplies: 1Last Post: 12-23-2007, 06:58 AM -
Inventory part 2 help please
By badness in forum New To JavaReplies: 1Last Post: 12-12-2007, 07:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks