How we can make a paint project with java?

Asked By 10 points N/A Posted on -

I want to make a paint project with Java. please help me to learn more about it

Answered By 0 points N/A #148906

How we can make a paint project with java?


Hello Leslie Joshuaa,

Yes you can develop a paint project with java. Find the attachment ("paint.txt") and then download it in to your local storage. Then save it as "" or use your desired file name with "java" extension. Then go to the command prompt (just Press Window+R > type "cmd" and hit Enter key). Change the directory in to the directory where the "" exists. (use CD command in DOS – Ex:- CD D:JAVA). Use following commands to compile your program.

D:JAVA>javac (to compile the program code. This command coverts program code in to byte code and creates a new file as "paint.class" in the same directory.) Then,

D:JAVA>java paint (This will runs your program)

Note: All these DOS commands will execute if you have set environment variables properly. (You are able to do this using Advance tab of the system properties dialog box.)

Enjoy with your Paint Program.

Best regards!

Login/Register to Answer

Related Questions