aspose file tools*
The moose likes Beginning Java and the fly likes Gui Final Project Help Needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Gui Final Project Help Needed" Watch "Gui Final Project Help Needed" New topic
Author

Gui Final Project Help Needed

David Coello
Greenhorn

Joined: Jun 05, 2012
Posts: 22
Hello Forum Members, thank you for looking at my project.

I am in the process of creating a GUI for a customer order of plastic bags. I am aiming for a final presentation of a gui I am including in the attachment.

I have a list field but need to change to a text field where I want to display the results of the customer selection when the View Order button is pressed. I also have a Cancel button and want to bring all fields to no option being selected.

I appreciate your help, as I am having difficulty integrating the text field into the frame and also how to put the results into de text field. Thank you.

My code so far is:




[Picture1.jpg]

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
why AWT instead of Swing?
is it a requirement?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38349
    
  23
Why are you using Flow Layout? That is the default for panels anyway, but I would prefer something which keeps the number of visible components, like grid.
Why are you using Panels, which are AWT components? You ought to be using Swing throughout, though maybe we shall all be using JavaFX in future.
Have you got some sort of listener in mind, which you are planning to use? Are you going to use a button to transfer the details from your lists to the order?
I think you need to work out the logic of how you go from clicking a line in a list to getting on order. I suggest you get an order working without a GUI, then you can add a GUI on top of that. I suggest you ought to keep the business logic and the display in different classes, which means they can be changed independently of each other.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gui Final Project Help Needed