I have created a program to run the batch file.The problem is when the batch file has commands like "dir" etc its working fine.But when i have command like "cd.." its not running properly.
Say I use
c:\jdk1.3\bin\javaexamples\java batchRunner.class
where batchRunner.class...
Hello friends,
I am working in a project and got a problem using JEditorPane.
I have set the JEditorPane conetentType as text/html
and editable as false.
Now i am reading a html page in the form of string using jeditorPane1.read(ByteArrayInputStream,Object);
(the html string i have converted...
Can any one help me in this.
I have created a JButton and wanted to the text to be displayed as follows on its label.
--------------------
| Close |
| Exit |
--------------------
That is i want to indicate both close and exit labels for...
I need to pass a user defined object from my c program to java program via jni. It allows me to return java objects like String, or array of String to the calling function in java. But if the object to be returned is a user defined object then it gives an error message saying it can't convert...
how can we make class files to exe files so that i can just run by the name of the programm .
note:- where i am running class files don't have jdk installed.
I have one class Parent in swings , it created two child classes say Child1 and Child2 which are also swing applications
Parent
/ / Child1 Child2
Now my problem is what i type in child2 should be heard in child1 and vice versa, the parent...
hello every one.
i have a small problem
i have jtree and nodes in it.
now what i want is i want to change the text of the node by a button click .
can this happen ,or we should hve two seprate trees and display one after other only.
i will thank full if any one answers this immediately.
hello every one.
i have a small problem
i have jtree and nodes in it.
now what i want is i want to change the text of the node by a button click .
can this happen ,or we should hve two seprate trees and display one after other only.
i will thank full if any one answers this immediately.
Can any one help me in this problem ?
I have created an URL to get the information from some site say as
URL hp= new URL("http","www.java.sun.com";,"/index.html");
and opened the conenction as
URLConnection hpcon= hp.openConnection();
But when i am reading the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.