{"id":20812470,"url":"https://github.com/chandkund/quiz_app","last_synced_at":"2026-05-16T01:35:34.205Z","repository":{"id":249722723,"uuid":"759471880","full_name":"chandkund/Quiz_App","owner":"chandkund","description":"This project is a Java Swing-based GUI application with navigation buttons like Home, About Us, Login, Register, Report, New Exam, and Enter Quiz Code. It provides an intuitive, user-friendly interface for navigating different sections of the application.","archived":false,"fork":false,"pushed_at":"2024-08-16T20:12:47.000Z","size":4968,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-05T10:51:55.742Z","etag":null,"topics":["java","swing-components"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chandkund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-18T17:26:50.000Z","updated_at":"2024-08-16T20:15:31.000Z","dependencies_parsed_at":"2024-11-17T20:54:45.429Z","dependency_job_id":"06005a53-960f-451e-a72d-66eb335a6a6f","html_url":"https://github.com/chandkund/Quiz_App","commit_stats":null,"previous_names":["chandkund/quiz_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chandkund/Quiz_App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandkund%2FQuiz_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandkund%2FQuiz_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandkund%2FQuiz_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandkund%2FQuiz_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandkund","download_url":"https://codeload.github.com/chandkund/Quiz_App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandkund%2FQuiz_App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","swing-components"],"created_at":"2024-11-17T20:54:39.578Z","updated_at":"2026-05-16T01:35:34.181Z","avatar_url":"https://github.com/chandkund.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Quiz Application\n\nThis project is a Java Swing-based graphical user interface (GUI) application designed for a quiz platform. The application features multiple buttons that navigate between different pages like Home, About Us, Login, Register, New Exam, and Enter Quiz Code.\n\n## Table of Contents\n- [Project Overview](#project-overview)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Code Explanation](#code-explanation)\n\n## Project Overview\n\nThe Simple Minds Quiz Application provides a simple and interactive GUI for users to navigate through different sections of the quiz platform. The application uses Java Swing to create a user-friendly interface with buttons that lead to different functionalities such as logging in, registering, and starting a new exam.\n\n\n## Installation\nTo run this project, you need to have Java Development Kit (JDK) installed on your system. You can download it from the official Oracle website.\n-  Ensure you have a JDK installed on your system.\n-  Download or clone the repository\n  \n```bash\ngit clone https://github.com/yourusername/simple-minds-quiz.git\ncd simple-minds-quiz\n```\n-  Open the project in your preferred Java Integrated Development Environment (IDE), such as IntelliJ IDEA, Eclipse, or NetBeans\n\n## Usage\n\n- Compile and run the HomePage.java file in your IDE.\n- The main window will open, displaying the quiz application's home page with buttons for various \n  functionalities.\n- Clicking each button will navigate you to different parts of the application, such as Login, Register, \n  About Us, etc.\n\n\n## Code Explanation\n\n```java\npublic class HomePage extends JFrame implements ActionListener {\n    // Button declarations\n    JButton homeButton, aboutUsButton, loginButton, registerButton, reportButton, newExamButton, enterQuizCodeButton;\n    private Image backgroundImage;\n\n    HomePage() {\n        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n        setSize(1200, 700);\n\n        // Load and set background image\n        backgroundImage = new ImageIcon(ClassLoader.getSystemResource(\"icon/quizz12.jpg\")).getImage();\n        // Custom JPanel for background image\n        JPanel contentPane = new JPanel() {\n            @Override\n            protected void paintComponent(Graphics g) {\n                super.paintComponent(g);\n                g.drawImage(backgroundImage, 0, 0, getWidth(), getHeight(), this);\n            }\n        };\n        contentPane.setLayout(null);\n        // Add components to the panel\n        addComponentsToPanel(contentPane);\n        setContentPane(contentPane);\n        setVisible(true);\n    }\n    // Other methods and event handling\n}\n\n```\n-**Action Listeners**:\nThe application implements the ActionListener interface to handle button clicks, which trigger navigation to different pages of the application.\n```java\npublic void actionPerformed(ActionEvent e) {\n    if (e.getSource() == homeButton) {\n        // Handle Home button click\n    } else if (e.getSource() == aboutUsButton) {\n        setVisible(false);\n        new AboutUsPage();\n    } else if (e.getSource() == loginButton) {\n        setVisible(false);\n        new LoginPage();\n    } else if (e.getSource() == registerButton) {\n        setVisible(false);\n        new RegisterPage();\n    } else if (e.getSource() == reportButton) {\n        // Handle Report button click\n    } else if (e.getSource() == newExamButton) {\n        // Handle New Exam button click\n    } else if (e.getSource() == enterQuizCodeButton) {\n        setVisible(false);\n        new EnterQuizCodeFrame();\n    }\n}\n\n```\n- **Images and Resources**:\n- The application loads images from the icon folder using `ClassLoader.getSystemResource()`.\n```java\nbackgroundImage = new ImageIcon(ClassLoader.getSystemResource(\"icon/quizz12.jpg\")).getImage();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandkund%2Fquiz_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandkund%2Fquiz_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandkund%2Fquiz_app/lists"}