-
src/LoginUI
- Used components like
JFrame
,JLabel
,JTextField
,JPasswordField
,JButton
Components properties are provided manually usingsetBounds()
- Used components like
-
src/BorderLayoutDemo
- Demonstrates
BorderLayout
layout manager to positionJButton
components in different areas of theJFrame
window
- Demonstrates
-
src/FlowLayoutDemo
- Demonstrates
BorderLayout
to positionJButton
,JLabel
,JTextField
in different areas ofJFrame
.
- Demonstrates
-
src/GridLayoutDemo
- Demonstrates
GridLayout
layout manager to positionJButton
components in a grid pattern within theJFrame
window.
- Demonstrates
-
src/GridBagDemo
- Used
GridBagLayout
withGridBagConstraints
to arrange components - Components added to the frame using
frame.add(component, GridBagConstraints)
GridBagConstraints
properties used arefill
,gridx
,gridy
,ipadx
,ipady
, andgridwidth
- Used
-
src/CalculatorDemo
- Used
GridBagLayout
andGridBagConstraints
andJFrame
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.
- Used
-
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
- Used
-
src/ActionListenerFactorial
- Used
ActionListener
to fin factorial of a number
- Used
-
src/KeyDemo
- Used
KeyListener
interface to handle key events on button using methodkeyPressed
- Used
-
src/MouseDemo
- Added
MouseListener
interface to handle mouse events on frame using methods likemousePressed
,mouseClicked
, etc.
- Added
-
src/SelectFromDb
- Database programming with java using
JDBC
, createConnection
,createStatement()
,executeQuery()
and shown it usingrs.next()
- Database programming with java using
Thank you for considering contributing to this project! To contribute, follow these steps:
- Fork the repository to your account.
- Clone the forked repository:
git clone https://github.com/your-username/repo-name.git
- Create a new branch for your contribution:
git checkout -b your-branch-name
- Make changes and commit them:
git add . git commit -m "your-commit-message"
- Push your changes to your forked repository:
git push origin your-branch-name
- Create a Pull Request to the original repository from your forked repository.
- Wait for the maintainers to review and merge your changes.
- Only contribute to Advance Java Practicals.
- Ensure your code is properly formatted and follows the project's coding conventions.
- Include clear and concise commit messages and PR descriptions.
- Test your changes locally before submitting a Pull Request.
- Avoid submitting multiple unrelated changes in a single Pull Request.
- Be respectful and kind to other contributors and maintainers.
- If you have any questions or doubts, feel free to open an issue or contact the maintainers.
Please update a markdown file with src/<ProgramName>
with simple description