Create paint brush using Java

Asked By 20 points N/A Posted on -
qa-featured

Dear Techyv Users,

I am in need of coding to create paint brush using Java swings. Please do the needful for providing the coding for creating paint brush, so that I can understand the Java coding.

Thanks & Regards,

Bennie S Easter

SHARE
Answered By points N/A #171456

Create paint brush using Java

qa-featured

Hi Bennie S Easter,

It is a simple java applet application of a pain-brush style program. To create paint brush using java swings need coding so visit this site. Here you will get how you will be able to create a Paint Brush application in java swings.

In this application simply clicking and dragging the mouse you can paint a line on the window. To do that at first create a class PaintBrush.java extend from JFrame class as a frame represents a window with a title bar and boarders. Then, simply create another Java file named MyPanel.java and compile the both.

For more info also visit this site too.

Enjoy your program!  

Related Questions