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.

Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27

Thread: Ordering items but a bit more complex then just swapping items

  1. #26
    Junior Member
    Join Date
    Jul 2019
    Posts
    14
    Thanks
    0
    Thanked 11 Times in 11 Posts

    Default Re: Ordering items but a bit more complex then just swapping items

    Quote Originally Posted by Norm View Post
    Another idea for a design:
    The original employee items are saved in a list.
    Each employee record has a list of its own that contains the employees that must follow.
    When a processAfter rule comes in, the referenced employee is removed from the original list and added to the individual employee's list.
    Thanks for the idea Norm, this sounds very interesting. Kinda like a linked node setup. I just need to think about how to start coding this. I've asked for help on the other forum too.

  2. #27
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,166
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Ordering items but a bit more complex then just swapping items

    how to start coding this.
    Finish the design work before starting any coding.
    If you don't understand my answer, don't ignore it, ask a question.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Disable items in JComboBox or ?
    By JavaCoderJ in forum Object Oriented Programming
    Replies: 1
    Last Post: October 26th, 2013, 07:58 PM
  2. menubars and menu items
    By runkerr in forum What's Wrong With My Code?
    Replies: 6
    Last Post: September 5th, 2013, 10:00 PM
  3. JComboBox help again but different help 75+ items in it
    By derekxec in forum AWT / Java Swing
    Replies: 7
    Last Post: August 27th, 2011, 06:53 PM
  4. Getting items from a table/checkboxes
    By beth in forum AWT / Java Swing
    Replies: 2
    Last Post: January 5th, 2011, 01:29 PM
  5. Different operation on Array
    By jempot in forum Collections and Generics
    Replies: 4
    Last Post: January 27th, 2009, 06:07 AM