/The-Java-Programming-Repository

All the Java Knowledge which I gathered & Interesting Java Programs which I performed over the years. Recommended IDE for the folders above :- Netbeans 8.2 and Eclipse

Primary LanguageHTML

The Java Programming Repository

The collection of all the Java programs I've implemented over the years. If a program is missing from the list below, check the corresponding file and refer to the comments for further details. Raise a Pull Request in case of new JAVA PROGRAM addition. P.S : Don't forget to add comments for better understandings in the code.

Recommended IDE: NetBeans 8.2

Program List:

  1. AbsClassDemo - Demonstration of Abstract Class.
  2. DemoInterface - Demonstration of Interface.
  3. MovTruck - AWT project showcasing the movement of trucks using rectangles and squares.
  4. Simulator - OS Process and Algorithm Simulator.
  5. Static and Non-Static Demo - Demonstration of Static and Non-Static Methods.
  6. jar-files - Resolving the "kotlin-runtime not found" error in NetBeans IDE by selecting the kotlin-runtime JAR file under the "resolve problems" tab.
  7. useFul - A package demonstration program. The folder is the package and can be executed by running PackageTest1.java in this list.
  8. Academic.java - Reads student name, roll number, and subject marks to find total and percentage.
  9. AddingElementVect.java - Demonstration of Vector by adding and searching elements.
  10. Bitwise.java - Demonstration of Bitwise operators.
  11. BouncingBall.java - A simple program spawning a window where a ball bounces off the inside corners. Users can change the size and color of the ball, and resizing the window adjusts the bounce accordingly.
  12. BtnDemo1.java, BtnDemo2.java, BtnDemo3.java, BtnDemo4.java, BtnDemo5.java - Demonstration of Buttons.
  13. Calculator.java - Basic calculator program with GUI.
  14. CheckInternet.java - Checks internet connection or availability of certain websites.
  15. ChoiceDemo.java - Demonstration of Choice component.
  16. Circle.java - Calculates the area and circumference of a circle.
  17. ColorBars.java - Displays random colored vertical bars on the screen.
  18. CompareStrings.java - Demonstration of string comparison.
  19. ConditionalOp1.java - Finds the greatest of two numbers using a conditional operator.
  20. Counter.java - A simple counter that increments indefinitely.
  21. Cricket.java - Calculates cricket match score and run rate.
  22. DemoJComboBox.java - Demonstration of JComboBox.
  23. DemoSwing.java - Demonstration of Swing in Java.
  24. DiceGame.java - A simple dice game implemented in Java.
  25. DigitalClock.java & DigitalClock1.java - Clock created using Graphics that displays the computer's current time.
  26. DigitalSum.java - Finds the sum of all digits of a user-input number.
  27. Dots.java - Opens a window where dots spawn randomly across the screen.
  28. DynamicApplet1.java - Moving Truck animation created by friends.
  29. ExceptionDemo.java - Demonstration of exception handling.
  30. Fibbonacci.java, Fibbo.java - Prints Fibonacci Series.
  31. Factorial.java - Calculates the factorial of a number.
  32. GUIFRAME.java - An arithmetic calculator implemented using Java.
  33. GradeShow.java - Inputs grades and shows their classification.
  34. Grade.java - Determines the greatest of three numbers.
  35. Greatest.java - Finds the greatest of three numbers.
  36. Gross.java - Calculates gross salary from previously given values.
  37. HelloWorld.java - Classic "Hello World" program.
  38. HybridInterface.java - Demonstration of a hybrid interface.
  39. InterfaceDemo.java, InterfaceDemo1.java, InterfaceDemo2.java - Shows the working of inheritance.
  40. JScrollPaneDemo.java - Demonstration of JScrollPane.
  41. LeapYearDeceider.java - Checks if a year is a leap year.
  42. Mobile.java - Inserts multiple elements into an array.
  43. MouseEvents.java - Demonstrates mouse events.
  44. MultiButtonDemo.java - Demonstrates the working of multiple buttons in a GUI.
  45. MultiCatch.java - Demonstrates multiple catch statements in exception handling.
  46. MyProgressBar.java - Simple progress bar implemented using Java.
  47. PackageTest1.java - Refer to the top folder named "useFul" for more information.
  48. Pattern1.java - Prints a basic pattern of *.
  49. Rectangle.java - Calculates the area and perimeter of a rectangle from length and breadth inputs.
  50. ReverseNo.java - Reverses a number without using a temporary variable.
  51. RunnableDemo.java - Demonstrates multithreading by implementing the Runnable interface.
  52. SearchlastString.java - Finds the last occurrence of a given string.
  53. Smile.java - Displays a smiley face created using Applet.
  54. StringReverse.java - Reverses a given string.
  55. SwingCalendar.java - A calendar implemented using Swing.
  56. TempConvertor.java - Converts Celsius to Fahrenheit.
  57. TenMultiples.java - Prints the multiplication table of any input number.
  58. ThreadDemo1.java, ThreadDemo2.java - The first demonstrates basic thread implementation, and the second shows the thread life cycle.
  59. ThreadPrint.java - Prints output using threads.
  60. TrafficSignal.java - A simple traffic signal implemented using Applet.
  61. User.java - Creates a custom exception.
  62. VDemo.java, VectorDemo.java - Demonstrations of Vectors.
  63. Work.java & Work1.java - Creates a chessboard design using Java.