Posts by Mayank Garg

Author Biographical Info: I am mayank garg and i am pursuing my B.tech From Manav Rachna University Faridabad.
i am currently studying in 6th sem of CSE branch.

How to Create a digital watch using Java

By Mayank Garg

In this program, we are going to create a digital watch with the swing in java. In this program, we will use these Java packages: swing package  awt package A util package The tex.... Read More

How to create a Puzzle game with java

By Mayank Garg

In this program, we will create a puzzle game with java. In this program, we have only used Buttons, Frame, swing & action listener. It is GUI Puzzle game. This game is also kn.... Read More

How to use Slider Bar in java

By Mayank Garg

In this program, we will learn the slider in java & also perform the various operation with sliders. we change the color of the text area with the slider bar in Java. If we wan.... Read More

How to draw a wave form pattern in java swing

By Mayank Garg

In this program, we will learn how to draw waveform pattern in Java. Here, we use the AWT and swing package. We use many classes and methods of AWT and Swing packages. Now we see &.... Read More

Create Menu bar on the frame by using java

By Mayank Garg

In this program, we will learn how to create a menu bar on the frame in Java Swing. JMenuBar is the class that is mandatory for the menu bar. The swing package is also important fo.... Read More

How to find a Transpose of a matrix by using java

By Mayank Garg

In this program, we have solved the transpose of a matrix by using java. Here, the first question is coming in our mind that what is transpose. In the transpose process, we have in.... Read More

How to Sort an array in Ascending Order in Java

By Mayank Garg

In this program, we will learn how to sort array elements in ascending order in Java. The user will give the inputs. on the basis of input, we have to sort the array in ascending o.... Read More

Set background color of the text area in the frame in Java

By Mayank Garg

In this program, we will learn about the menu bar and we will create the menu bar on the frame. JMenuBar is the class that is mandatory for the menu bar. Swing package is also impo.... Read More