itsankitbhusal / AdvanceJava

Advance Java BCA VI practicals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advance Java


BCA VI Advance Java Practicals

  1. src/LoginUI

    • Used components like JFrame, JLabel, JTextField, JPasswordField, JButton Components properties are provided manually using setBounds()
  2. src/BorderLayoutDemo

    • Demonstrates BorderLayout layout manager to position JButton components in different areas of the JFrame window
  3. src/FlowLayoutDemo

    • Demonstrates BorderLayout to position JButton,JLabel, JTextField in different areas of JFrame.
  4. src/GridLayoutDemo

    • Demonstrates GridLayout layout manager to position JButton components in a grid pattern within the JFrame window.
  5. src/GridBagDemo

    • Used GridBagLayout with GridBagConstraints to arrange components
    • Components added to the frame using frame.add(component, GridBagConstraints)
    • GridBagConstraints properties used are fill, gridx, gridy, ipadx, ipady, and gridwidth
  6. src/CalculatorDemo

    • Used GridBagLayout and GridBagConstraints and JFrame to create calculator UI
    • Uses JTextField to display the input and output of calculations.
    • Uses JButton to create buttons for numbers, operators, and other functionalities like clear, percent, and toggle sign.
  7. src/ActionListenerDemo

    • Used ActionListener interface to handle button click events
    • Implemented actionPerformed() method to set the text of the second text field to the value of the first text field when the button is clicked
  8. src/ActionListenerFactorial

    • Used ActionListener to fin factorial of a number
  9. src/KeyDemo

    • Used KeyListener interface to handle key events on button using method keyPressed
  10. src/MouseDemo

    • Added MouseListener interface to handle mouse events on frame using methods like mousePressed, mouseClicked, etc.
  11. src/SelectFromDb

    • Database programming with java using JDBC, create Connection, createStatement(), executeQuery() and shown it using rs.next()

Contributing

Thank you for considering contributing to this project! To contribute, follow these steps:

  1. Fork the repository to your account.
  2. Clone the forked repository: git clone https://github.com/your-username/repo-name.git
  3. Create a new branch for your contribution: git checkout -b your-branch-name
  4. Make changes and commit them: git add . git commit -m "your-commit-message"
  5. Push your changes to your forked repository: git push origin your-branch-name
  6. Create a Pull Request to the original repository from your forked repository.
  7. Wait for the maintainers to review and merge your changes.

Please make sure to follow these guidelines when contributing:

  1. Only contribute to Advance Java Practicals.
  2. Ensure your code is properly formatted and follows the project's coding conventions.
  3. Include clear and concise commit messages and PR descriptions.
  4. Test your changes locally before submitting a Pull Request.
  5. Avoid submitting multiple unrelated changes in a single Pull Request.
  6. Be respectful and kind to other contributors and maintainers.
  7. If you have any questions or doubts, feel free to open an issue or contact the maintainers.

In addition

Please update a markdown file with src/<ProgramName> with simple description

Thank you for your contribution!

About

Advance Java BCA VI practicals


Languages

Language:Java 94.4%Language:HTML 5.6%