A Java-based application simulating an auction system, allowing users to list items and place bids through a graphical user interface. This project demonstrates object-oriented programming concepts and GUI development in Java.
The Auction System enables users to:
- List items for auction.
- Place bids on available items.
- View auction results and winning bids.
The application provides a user-friendly interface for managing auctions and demonstrates core Java programming skills.
- Item Listing: Add items to be auctioned with details such as name and starting price.
- Bidding Mechanism: Place bids on listed items, with validation to ensure higher bids.
- Auction Results: Display the highest bid and bidder information at the end of the auction.
- Graphical User Interface: Interactive GUI for seamless user interaction.
Auction-System/
├── .idea/
├── out/
│ └── production/
│ └── Final/
├── src/
│ └── [Java source files]
├── Final.iml
├── README.md
└── demo.png
.idea/: IDE-specific configuration files.out/: Compiled class files.src/: Contains Java source code files.Final.iml: Project module file for IntelliJ IDEA.README.md: Project documentation.demo.png: Screenshot of the application interface (if available).
- Java Development Kit (JDK) 8 or higher installed.
- An IDE like IntelliJ IDEA or Eclipse (optional but recommended).
-
Clone the Repository:
git clone https://github.com/prateek2468/Auction-System.git cd Auction-System -
Open in IDE:
- Import the project into your preferred IDE.
- Ensure the JDK is properly configured.
-
Compile the Source Code:
- Use your IDE's build functionality to compile the project.
- Or from the command line:
javac -d out/production/Final src/*.java
-
Run the Application:
- Execute the main class from your IDE.
- Or from the command line:
java -cp out/production/Final MainClassName
Replace
MainClassNamewith the actual name of the main class.
- Launch the application.
- Use the GUI to add items for auction.
- Place bids on available items.
- View auction outcomes and winning bids.
- Java: Core programming language.
- Swing/AWT: For building the graphical user interface.
- IntelliJ IDEA: Suggested IDE for development.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add your feature' - Push to the branch:
git push origin feature/YourFeature
- Open a pull request detailing your changes.
This project is open-source and available under the MIT License.
For any queries or suggestions, feel free to open an issue or contact the repository owner.