gaudimannan/trainease ? reverse-engineered prompt
Reverse engineered prompt
Build me a desktop train ticket booking app in Java with a clean, modern looking GUI.
I want regular users to be able to search trains, book tickets, cancel bookings, and see seat availability and schedule updates without needing to refresh anything manually. Please include a simple login flow if needed, and make the screens easy to use for someone who is not technical.
Also add an admin area where I can add, update, and remove trains, and manage schedules and availability. Make sure the app handles bad input nicely, shows clear error messages, and feels polished rather than like a school project. Use a modern Swing based design with FlatLaf styling, and connect it to a cloud database so the data stays saved and updates in real time. If you need to check current docs for any setup details, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit