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 "paint.java" 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 "paint.java" exists. (use CD command in DOS – Ex:- CD D:JAVA). Use following commands to compile your program.
D:JAVA>javac paint.java (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.