Welcome to Dream.In.Code
Become a Java Expert!

Join 150,156 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 2,374 people online right now. Registration is fast and FREE... Join Now!




Questions about an Inventory Program I am on Part 5

 
Reply to this topicStart new topic

Questions about an Inventory Program I am on Part 5

UofPgirl
4 Aug, 2008 - 10:03 AM
Post #1

New D.I.C Head
*

Joined: 21 Jul, 2008
Posts: 33


My Contributions
I have a few questions, I am supposed to modify my program by adding a button to the GUI that allows the user to move to the first item, previous item, next item and last time in the inventory. If the first item is displayed and the user clicks on the previous button, the last item should be displayed. If the last item is displayed and the user clicks the Next button, the first time should display. Also I have to add a company Log to the GUI using Java graphics classes.

My Questions are: Am i deleting some of what i did on my last part of the assignment or am I continuing on by adding to the program? How do I make a logo for this?
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Questions About An Inventory Program I Am On Part 5
4 Aug, 2008 - 11:17 AM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
You should still be adding on to what you did in previous assignments. What you are going to do is simply add more functions to your inventory class like "prev", "next" and they will work with your internal array/arraylist of products.

As for the imaging, you are going to be using the Graphics object which is under java.awt package. Below is a link to show you how you can get started creating some graphics using this object...

Lesson: Getting Started with Graphics (Java 2D Tutorial) (Be sure to click next at the bottom to follow the trail. It will show you how to draw shapes, images etc)

smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 02:39AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month