How to call gnuplot command from java

Advertisement

Hi there,
In our course, we are required to develop an GUI for gnuplot. In case you don't know about gnuplot, it's a plotting program and has lots of command. We want to use java and swing, but now we don't know how to call gnuplot command from java, or how to execute a shell command(script) from java.
By the way, since we need read in files with several columns of data and allow user to select a column, we want to use JTable. Is that reasonable?
Thanks a lot for any suggestions!
Jack

Advertisement

Hi, there:
Will using JTable add much overhead? I may have to use several JTables and switch among them. I can add scroll bar to or edit JTables, right?
BTW, do you have experience about gnuplot? Can I find the command tree of gnuplot somewhere? Or do you know a better place to post question about gnuplot? unix/linux group, maybe.
Thanks,
Jack
P.S. Would you guys answer my question after I use up my duke dollars? :- )

November 30, -0001

How to call gnuplot command from java

Hi there, In our course, we are required to develop an GUI for gnuplot. In case you don't know about gnuplot, it's a plotting program and has lots of command. We want to use java and swing, but now we don't know how to call gnuplot command from java,

How to Call SQL Loader from Java ( servlet )?

We need to call SQL Loader command from Java Servlets? Any suggestions how this can be done? Thanks RahulProbably not the best way, but you could try using JNI to call a C function which then invokes SQL Loader via system() or exec(). I haven't done

How to run system commands from JAVA

Hi Friends, How to run windows system commands from JAVA Runtime r=Runtime.getRuntime(); r.exec("dir"); Throwing following Exception CreateProcess :dir error=2 Thanks in advance HamsaHi , in Windows NT this is not possible, you can use the follo

How to Call C++ Method from Java

I need to call C++ method from Java. I have gone through the JNI tuorial , but was not able to pin point things. I read that : You have to write JNI c functions which then call your C++ member functions.You need to write a JNI function which will cal

How to Call a JSP from Java Script

Hi, I want to call a jsp from Java Script. I am having IntelliJ IDEA 4.5 (IDE) and weblogic server. should i do anything on web.xml,weblogic.xml I have written one jsp, Java script. I want to call a jsp from Java scriptfunction submitf(){ document.xy

How to call msword application from java program

hai every body i want to know about OLE in java. how can i invoke msoffice application in java code. if any body have sanple code for this post for me thank youThere are some bridges available ... http://www.google.com/search?q=ole+java+bridgeRead ot

How can I call ora:appendToList from java snippet?

I want to assign a list of user from User Task A to User Task B, but I don't know how to call ora:appendToList from java snippet, and are there any better ways to solve this situation?Hi Rakesh, Thank you for your help. For issue 1, for example, user

Calling external programs from Java?

Hi All, Is there a way of calling external applications from Java without using Runtime.exec(). That method seems quite messy when you are dealing with streaming data from an input file to an output file. Basically what I'm asking is there a way to r

UnsatisfiedLinkError while calling C library from Java Programm

Hi, I am trying call C function from Java code but I am getting error. Below is the code package jnitest; class HelloWorld {     private native void print();     public static void main(String[] args) {         new HelloWorld().print();     static {

What is the best way to call SSH commands through Java technologies

What is the best way to call SSH commands through Java technologiesI don't think you can specify the password at the prompt using ssh. Plink has the -pw command option for passwords. What I did was except ssh to ask me and write the password programm

Unable to execute Linux command from Java

Hi, I am currently working on a code wherein i need to execute Linux command from Java. Below are some of the query i have. 1) Is there any efficient method of running OS commands from Java, rather than using Runtime and Process method. 2) Below is d

How to call a form from WEB.SHOW_DOCUMENT 10g  Is this possible?????

how to call a form from WEB.SHOW_DOCUMENT I would like to call a form using the WEB.SHOW_DOCUMENT the idea is from the menu that is attached to the form instead of use call_form use WEB.SHOW_DOCUMENT(...my_newform.fmx) Is this possible?????Hi , I thi

How to call web services from HTML

Hi All, Does anybody have an idea on how to call web services from HTML using axis and i am using jboss-4.0.5 as the application server.What did your Google search return?Read other 2 answers

How to call a Workflow from a Report in SE38?

How to call a Workflow from a Report in SE38? Please can Anyone Send me a Source code (with Explanation)which I can use for calling Workflow >> WS99900253? Regards, Shashank.you can use FM SAP_WAPI_CREATE_EVENT SWE_EVENT_CREATE OR SAP_WAPI_START_WOR

Call PERL script from JAVA

I am facing a problem in running a PERL script in JAVA in UNIX box.. I am able to call ther perlscript. Perl script has #! /usr/local/bin/perl print "\nEnter Your Name :"; $name = <>; print "\nYour Name is : $name\n"; exit 0; Per

How to call a xmlform from KM doc iview

hi all , can any one explain how to call the xmlform from KM document iview . and my document is in content management ->document ->folder ->app.xml.Hi, If you want to look at XML form like the are designed in your form builder you need to work w

I wants to call .Exe file from Java Programme

I wants to call .Exe file from Java programme. Please give answer with example. This very urgent. Help mehi u can use Runtime.exec() method in java.lang package to execute exe files regards pnpRead other 3 answers

Curious thing while calling a procedure from Java !...

Hi !. My name is Agustin and my doubt would be the following one... I am working for a e-business comp and they asked me to call a procedure from java... The code is the following one: CallableStatement cs = null; System.out.println("Fecha Nro. 1: &q

Call .bat file from java code

I need to call an application that uses a .bat file to execute from a java program. Is that possible? This is the .bat file: importcli.exe ciaf2735 C:\Importcli\files\SAI2735*.txt   importcli.exe ciaf2735 C:\Importcli\files\CI2735*.txt   importcli.ex

How to call BEx workbooks from EP?

Hi! How to call BEx workbooks from EP (in new window)? P.S. For creation iView for workbooks I use "Role Upload" in Portal (System Administrator -> Transport -> Role Upload). Automatically created iView (for workbooks), unfortunately, do n