Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Super Market Application

  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Super Market Application

    I have learned the basic of threading through various resources and now I want to implement a basic supermarket application. The features which I am looking in that application are :-

    1. Billing counters where customer will do there checkout.
    2. Number of items in each customer's in trolley must be different.
    3. To trace weather more checkout are required or not.
    4. Calculate billing time, wait time etc.

    I am not sure how to start this using thread. If any one can suggest the steps how to proceed with development that will be very helpful. I am planning to use java AWT from UI prospective.

  2. #2
    Member
    Join Date
    Aug 2017
    Location
    Northern Ireland
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Super Market Application

    For simplicity I would recommend you start without using Threads else you may get tied up in a mess. Also AWT is way behind the times so if you're looking to learn something currently useful I'd recommend JavaFX instead.

    What have you got so far? Where are you stuck?
    Tim Driven Development

  3. #3
    Junior Member
    Join Date
    Oct 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Super Market Application

    I am planning to implement this using thread only and JavaFX seems good options. But the situation where I am currently stuck is how I cam implement this like what needs to be done first. If any sequence of task are known to me i can start developing those.

    Currently from thread coding point of view I am not sure how to start this. If some one any suggest any border idea about this, I am sure i can code it. The UI is not major concern for me but the thing which is creating trouble for me is how to implement functionality,

    I hop you have got my concern.

  4. #4
    Member
    Join Date
    Aug 2017
    Location
    Northern Ireland
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Super Market Application

    I would start with building a single "billing counter" (I'd call that a Till) and decide on how you want that to operate. How will you enter each item? Do you need to keep a record of the Stock? How will you know the price for each item? How will you add new Stock Items? What other things do you think you would need to consider?

    Notice I'm saying nothing about threads yet, just start with normal Java programming. Before you start using threads you'd need to understand what problem you're trying to solve with threads first. Make sense?
    Tim Driven Development

  5. #5
    Junior Member
    Join Date
    Oct 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Super Market Application

    Yes Thanks for suggestion.

Similar Threads

  1. How to prepare pre-graduation for the job market
    By Zyrion in forum Totally Off Topic
    Replies: 2
    Last Post: February 5th, 2014, 01:19 PM

Tags for this Thread