Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes Questions in relation to a queue. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Questions in relation to a queue." Watch "Questions in relation to a queue." New topic

Questions in relation to a queue.

Enoc Gutierrez

Joined: Dec 02, 2011
Posts: 2
first, good morning on this side of the world (Venezuela). this is the first time I'm in a community like this site. I regret that my first time addressing you is just to help me to resolve concerns sorry!,
I am doing a public service system with queues. prints three different types of tickets for three different types of customer service, I am working with pcs socket so that authorized agents can move the tail just by clicking a button in the appclient, but I tried to make the top of the queue is not established by a standard or static number, I want the appclient see in my database generated and last number I establish this last number generated as the top of the tail.

the last thing I thought was that after setting the static number of my array, the next number is compared with the database and if not equal to the last number is not generated and top, then continue the tail, and if not equal but if it was higher, then stop the queue.

may be a silly question, but I can not think of anything else. Thank you and thank you very much for all the help they can provide.

Darryl Burke

Joined: May 03, 2008
Posts: 5115

Nothing to do with 'Swing / AWT / SWT / JFace.' Moving to 'Beginning Java'

luck, db
There are no new questions, but there may be new answers.
Enoc Gutierrez

Joined: Dec 02, 2011
Posts: 2
Thanks and Im sorry!
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4627

Hi Enoc, welcome to CodeRanch!

I'm sorry, but I hardly understood the intent of your application, and the problem you're facing. Could you please try again to clearly restate what you're trying to do, and why the program isn't doing what you want it to do?

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
I agree. Here's the link:
subject: Questions in relation to a queue.
jQuery in Action, 3rd edition