I am working on an assignment for my object oriented programming class, it is a very simple program, but it has raised a question. My assignment is to create a rectangle class where I just assign points. The thing is we write our programs with notepad and run them through the command line. So this assignment made me think, can I not direct my program to open via paint when it is executed through the command line. If so how would I go about doing that? I do know there are IDEs hat can easily do this for me but that is not my interest at this point. I thank you in advance for any answers.

run a Java class from paint? that makes no sense at all. paint is an image processing application, not a coding platform.

or did you mean: "is it possible to open paint from my code when I run my code through the command line?"

I did mean "is it possible to open paint from my code when I run my code through the command line?".

This article has been dead for over six months. Start a new discussion instead.