EhsanulHaqueSiam / HotelManagementSystem

This repository contains the source code for a Hotel Management System implemented in Java. The system provides functionality for managing hotel operations, such as check-in, check-out, room management, and payment processing. It utilizes Java Swing for the graphical user interface.
MIT License
12 stars 2 forks source link

Empty field was showing wrong dialogue box #2

Closed NitPaul closed 1 year ago

NitPaul commented 1 year ago

In ManageRoom class if the JTextField was empty it was showing the wrong dialogue box. Reason: Same room check condition was written first Solution: In the updated code the textField was checked if it is empty or not then we checked the Same room condition