December 24, 2020

Published December 24, 2020 by

Freehand Drawing Application with Java Swing

Here is a sample Java program which is used for freehand drawing with mouse. Features include: - Colors: You can draw in different colors. The supported colors are Black, Blue, Cyan, Gray, Green, Magenta, Orange, Pink, Red, White and Yellow. - Pointer Location: The program always shows the mouse pointer...
Read More

December 23, 2020

Published December 23, 2020 by

Simple Calculator Program with Java Swing

A simple standard calculator developed with Java Swing. Features of the calculator includes add, subtract, multiply, divide, square root, square, cubic root, cube etc. AC and DEL button also exist for clear and delete operations. Here is the full source code. import javax.swing.JButton; import javax.swing.JDialog; import...
Read More