Seating Chart Program Java

Posted onby
Active3 months ago
Classroom seating chart program

I'm creating a web app for selling online tickets. Where the user will be able to design a seating chart. Each seating chart has a collection of seats. These seats can be assigned unique numbers or names. You can organize seats into larger groups, such as rows, sections, or levels. In other words, the user will be able to design their layout.

What can be used in the front end for the user to design the layout? Is there some JavaScript library (ideally open source) that could help me?

Wedding Seating Chart Program

Java-Write a reservation system for an airline flight. Assume irplane has 10 rows with 4 seats in each row. Use a 2 dimensional array of strings to maintain a seating chart. In addition create a array to be used as a waiting list in case the plane is full.

It will look more or less like this:

Chenmunka
1,2953 gold badges15 silver badges30 bronze badges
Victor DonetVictor Donet

3 Answers

One that I know of is called, 'jQuery Seat Charts'. It's open source available on GitHub and provides an easy way to create/design seat charts available in webpages. It creates a map along with a legend proving an easy interface for any user to choose the seats that they want.

jQuery Seat Charts (JSC) is a full-blown seat map library. It will generate an accessible map, legend, handle mouse & keyboard events and finally give you powerful selectors to control your map.

TomTom
5,8438 gold badges28 silver badges56 bronze badges

Essential Diagram for JavaScript supports creating any kind of diagram including seating charts.

The whole product is available for free through the community license if you qualify (less than 1 million USD in revenue).

I work for Syncfusion.

Davis JebarajDavis Jebaraj

There are many options available. If you are planning to buy I can suggest below charts which you can customize.

PrashobhPrashobh

Not the answer you're looking for? Browse other questions tagged libraryjavascriptuser-interfacefloor-plan or ask your own question.

Active2 years, 9 months ago

i have an issue with my 2d array its not outputting correctly, so the program is running fine, however when i choose case 4 to view airplane seating chart horizontally outputting to many x's and not in the correct spot. if any one can point me in the right direction that will be awesome!

corvo corvo

1 Answer

You are mixing up rows and columns on the plane with rows and columns on the screen.

Your horizontal output is really over complicated. It should be just as simple as the vertical output. The key is duplicate the code from your vertical output, but reverse the two for statements.

and it should magically work.

Well, almost work. This will flip the left and right sides of the plane. A small change to the first loop will fix that too. Left to student.

AJNeufeld

Seating Chart Java Program

AJNeufeld
7,4871 gold badge15 silver badges38 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Classroom Seating Chart Program

Not the answer you're looking for? Browse other questions tagged javaarrays or ask your own question.