This video demonstrates the "Triangle Finder" application, developed as a term project for the Programming II course. The application takes the coordinates of three line segments from the user, formulates them into linear equations, and dynamically calculates their intersection points using Cramer's Rule. It then calculates the side lengths and interior angles (using the Law of Cosines) and renders the resulting triangle on a custom-built coordinate grid.
⏱️ Timestamps:
0:00 - Introduction & Application Demonstration (Features & Error Handling)
01:00 - Running Project
4:18 - Code Explanation & Rewriting: LinearEquation.java (Mathematical Core & Cramer's Rule)
10:06 - Code Explanation & Rewriting: TestLINEQ.java (Console Testing)
16:42 - Code Explanation: LinePnl.java (Swing Components & Inheritance)
18:10 - Code Explanation: ThreeLines.java (Formulas, Distance & Law of Cosines)
20:42 - Code Explanation: GraphPanel.java (Graphics2D, Dynamic Grid & Rendering)
24:25 - Code Explanation: Main.java (App Architecture, UI Layout & Compute Method)
27:01 - Closing Remarks
Download
0 formats
No download links available.
Triangle Finder Application | Java Swing & OOP | Atlas University -Programming II Project | NatokHD