I am still trying to get 4 right before we move on to 5. Why don't you post your #4 if you are done with that one so we can see what you have done...?
Can't get my inventory program to compile
Collapse
X
-
-
-
Originally posted by bill1967It is actually 2 seperate files. The second one is at the bottom
This will make the code compile. May I say that you are using the wrong tools here. To display non-editable text eg labels, you should use a JLabel. Where did you say was the problem with this one?Comment
-
Now I got it to work... Thanks...
What do we need to do now, I guess this one...
Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous button, the last item should display. If the last item is displayed and the user clicks on the Next button, the first item should display.
• Add a company logo to the GUI using Java graphics classes.Comment
-
Originally posted by zaidalin79Now I got it to work... Thanks...
What do we need to do now, I guess this one...
Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous button, the last item should display. If the last item is displayed and the user clicks on the Next button, the first item should display.
• Add a company logo to the GUI using Java graphics classes.
Make sure you understand this and ask where you do not understand. Then I want you to add the other buttons required and labels as well so that you really grasp the concepts.Comment
-
I have to do something here at work for sec. I will take a good look at this one... Will you be on for awhile? It has been hard to catch you lately...
Thanks againComment
-
Originally posted by zaidalin79I have to do something here at work for sec. I will take a good look at this one... Will you be on for awhile? It has been hard to catch you lately...
Thanks againComment
-
I will try it, but I don't know if I can get it in 45 minutes... I am still pretty slow at this. I will have more time to go back over these after my class is done this Sat, I am just trying to hurry and get the last one posted so I can have a chance of not failing the class... After then, I will have as much time as I need to read through all the code and make sure I understand everything. You should be a teacher... You certainly do a better job than mine! LOL! :)Comment
-
Originally posted by zaidalin79I will try it, but I don't know if I can get it in 45 minutes... I am still pretty slow at this. I will have more time to go back over these after my class is done this Sat, I am just trying to hurry and get the last one posted so I can have a chance of not failing the class... After then, I will have as much time as I need to read through all the code and make sure I understand everything. You should be a teacher... You certainly do a better job than mine! LOL! :)
Now I have to go. Here is what I expect you to do. Have a good look at the code posted below for the rest of the day and night when you post tommorrow, I hope you will have adde the other buttons an labels.
[code removed as per site rules - see FAQ]Comment
-
I think so too... I don't mind, but you should make sure that r035198x doesn't cause he is writing the majority of it. My teacher actually told me that only about 25-30% of students pass this class... Sounds like there is a problem with the curriculum to me...Comment
-
Do you have Barbara Hecker? What bothers me is that they ask for items in our programs that we have not actually covered in our text. I have been through the text several times and no where does it cover "Next" or "Previous" button usage.
Originally posted by zaidalin79I think so too... I don't mind, but you should make sure that r035198x doesn't cause he is writing the majority of it. My teacher actually told me that only about 25-30% of students pass this class... Sounds like there is a problem with the curriculum to me...Comment
-
No different teacher, but I agree with you on the text. She keeps telling me to read the text, like I haven't read it over four times. The examples don't help either...Comment
-
Comment