Can Java start a Processing ( Grafik Sofware ) Skript to run
I have a shown me Processing the Grafiok Programming System. And yes its nice an quik to code my Grafikal Ideas. But many of my calculatiobns and the GUI to Complicate for Processing. So I will solve this throught a Java Programm. And yes I could create a File with all the Information which will be needed by Processing to draw my pictur. But new the Problem. Why can I start Processing, and say at a arg... the location of this file. So I think about two ways which I could go
1) Can I integrate Processing Code by a short way in to Java Code, and why ...
2) Can I start / run Processing from the Console, and why ...
3) Or can I go another Way. And thy is ...
Please Help me, I am a Beginner ....
Re: Can Java start a Processing ( Grafik Sofware ) Skript to run
First, your question makes very little sense. If you are using a translator - I recommend finding a new one. If you are not using a translator and english is your second (or third, or fourth) language, think about using one. If english is your first language, I highly recommend thinking about your question and writing ideas down prior to posting.
Second, from what I could understand, you want to launch an external process using java. Look at the Runtime.exec method. Also have a look at the following
When Runtime.exec() won't - JavaWorld
Re: Can Java start a Processing ( Grafik Sofware ) Skript to run
Are you talking about Processing?
Re: Can Java start a Processing ( Grafik Sofware ) Skript to run
Ease up folks. Where he is saying why, I think he means how.
I don't know about Processing or any tools that convert source code? from Processing to Java.
In reply to your other points..
Yes, you can launch a Java program from the command line using, for example, the command java myMainClass.
You can launch a Java GUI using javaw.exe or preparing a jar file using the java jar utility.
You can launch another application from a java application using a java API class called "Runtime".