aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Need help on swapping JPanel that holds JTextField with new value. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Need help on swapping JPanel that holds JTextField with new value." Watch "Need help on swapping JPanel that holds JTextField with new value." New topic
Author

Need help on swapping JPanel that holds JTextField with new value.

Patty Zapata
Greenhorn

Joined: Mar 03, 2011
Posts: 7
The problem that I have is passing a bean from one class to another. I'm supposed to subtract the number of books (quantityPurchaseTextField entered by the user) with the current inventory which will show in the Inventory Details tab but unfortunately it doesn't work for me. I may need to swap the JPanel held in the Inventory class with a new one that carries the JTextField with the new value inventory. I don't know the syntax for that. Please help

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8433

Welcome to the Ranch.

In future, while posting code, please UseCodeTags . I have edited your post to incorporate them. As you can see, the code is much more readable and easier to understand.
We have a forum dedicated UI forum. I will move this thread there for you.


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help on swapping JPanel that holds JTextField with new value.
 
Similar Threads
Need help on login frame in java.
How to resize JFrame programmatically?
ActonListener
change text on jtextfield from one class after clicking submit from another class
Help designing a GUI