| Subject | Date Asked | Expert |
|
| updating JTable(URGENT) | 7/7/2008 | Artemus Harper |
Q: i want to edit the cells in JTable which takes its data from a MS-Access database and those edits ... A: For your first question, I can't really help with that since I don't have your database (or even ...
|
| updating JTable(URGENT) | 7/5/2008 | Artemus Harper |
Q: i want to edit the cells in JTable which takes its data from a MS-Access database and those edits ... A: Not having too much skill with databases, I've made up a simple example of what you want... you can ...
|
| updating JTable(URGENT) | 7/2/2008 | Artemus Harper |
Q: i want to edit the cells in JTable which takes its data from a MS-Access database and those edits ... A: In your Connection object (assuming you are using the java.sql package) you would first turn off ...
|
| Compiling Java program | 7/2/2008 | Beenish Zaidi |
Q: I have already written a Java program. Could you please guide me on ways to compile it? Thank you A: Glad to recieve your note. Okay, that sounds great, that you have written your first Java Program ...
|
| arraylist | 7/1/2008 | Beenish Zaidi |
Q: i want to use arraylist of beans to store data throughout my application but i am unable to prevent ... A: Glad to recieve your note. Nidhi, there are two ways to solve this particular problem a) If you ...
|
| arraylist | 7/1/2008 | Beenish Zaidi |
Q: i want to use arraylist of beans to store data throughout my application but i am unable to prevent ... A: Well Nidhi, Glad to recieve your note. One way to use this arraylist throughout your program is to ...
|
| If Else statements and ; expected | 7/1/2008 | Artemus Harper |
Q: I am using If Else statements in a form of repeating Else If statements. If (calculated = 10); { ... A: The compiler is very confused on what you are trying to do since this has many problems. The ...
|
| java to read / parse /find text recursively in .doc files/folder/dir of .doc files | 6/30/2008 | Beenish Zaidi |
Q: Algorithm of hat i ant ot achieve in Java and word files using POI or anything that might be helpful ... A: Seems like a complex problem at hand. Well, onething is that, you can't directly read the word file ...
|
| Calculating Day of the Week | 6/30/2008 | Beenish Zaidi |
Q: "Hi, i am required to write a Java application to do the following: A menu of 4 choices: 1) Born ... A: Desmond, i guess for handling of arrays and loops, the best reference for you will be Sun ...
|
| JNI | 6/26/2008 | Artemus Harper |
Q: Sir , I want to Access Windows Core (Kernel) DLL's in java program please help with a complete ... A: You have a couple of options... Java only supports calling native code if the name of the function ...
|
| Core java(visibility of classes) | 6/24/2008 | Neal Ziring |
Q: Protected visibility- A variable or method declared protected can be used only by classes in the ... A: Ms. Ranjan, The keywords "protected" and "private" can be used with classes, but ONLY with certain ...
|
| unicode | 6/22/2008 | Artemus Harper |
Q: i would like to display an Arabic (Unicode) String of characters (enter by user in Jtextarea) from ... A: In the pre init code of the component you can set the orientation to left to right overriding the ...
|
| passing arguments between frames | 6/21/2008 | Artemus Harper |
Q: I am trying to write a code in java to do the following: i got an interface for the user, it ... A: When they hit submit you can either hide or dispose of the frame (depending if you plan to use it ...
|
| java problem | 6/21/2008 | Artemus Harper |
Q: i am trying to do internet transaction but when it loads the login page of the bank website i get ... A: There is a problem with the applet loading. You can open the Java console (under the tools menu) and ...
|
| Tomcat error | 6/16/2008 | Artemus Harper |
Q: I am facing this error and as i am quite new to java i am not sure what error is this. if ... A: Although I don't have experience with servlets, the error indicates that you are missing a library ...
|
| printing a panel | 6/14/2008 | Artemus Harper |
Q: I am currently writing a piece of software, a sort of database type thing. I have a form which ... A: I tried your PrintUtilties class with some sample code below: import javax.swing.*; import ...
|
| 64bit Windows2003 filtering the entries of regedit when invoking by Runtime.exec() | 6/11/2008 | Artemus Harper |
Q: I am creating a process and with that process am invoking a batch file. Content of Java program: ... A: The output of the batch file (and by extension regedit) is not automatically redirected to standard ...
|
| JAVA | 6/9/2008 | Neal Ziring |
Q: First of all for giving this wonderful services you are the creator of my destiny Thank you I am ... A: Shukla, The Java Speech API home page is here: http://java.sun.com/products/java-media/speech/ ...
|
| progress bar | 6/5/2008 | Artemus Harper |
Q: i am working on a project called web spider where i am displaying all the hyperlinks of a web ... A: When you have a URL, you can use getConnection to get a URLConnection. From there you can call ...
|
| gui | 6/5/2008 | Artemus Harper |
Q: my project has an interface, so whenever i execute my program i get that interface itself...but i ... A: The difficulty of this depends on how you are doing loading. In order to show a progress bar there ...
|
| Saving entries in java | 6/5/2008 | Neal Ziring |
Q: How can u save the results or the entries u enter in a java program. i am a beginner in java i want ... A: Mahiou, > > How can u save the results or the entries u enter in a java program? In general, a ...
|
| Applet notinited | 6/4/2008 | Artemus Harper |
Q: I need help over here I made one simulation applet using the NetBeans IDE. When I run my simulation ... A: Some exception was probably thrown in the init, possibly a security issue or a missing resource. In ...
|
| Applet notinited | 6/4/2008 | Neal Ziring |
Q: I need help over here I made one simulation applet using the NetBeans IDE. When I run my simulation ... A: Petar, > it shows me the message "Applet Notinited" and doesn't > load the applet! First, you ...
|
| deletion of file | 6/3/2008 | Mohamed Ameer Irshad.H |
Q: can u tell me a source code which will keep a check on my files and when they are 7 days older, it ... A: . am again sory for the delay.. ofcourse u can integrate the above code with the code i hav given. ...
|
| Programming (Java) | 6/3/2008 | Neal Ziring |
Q: !! I did this program below, and I need some help to comment the program. I started but I can't go ... A: Antonio, This is not a Java program, it is a C# program. I'm not a very good C# programmer, since ...
|
| difference between jdbc and ADO | 6/2/2008 | Artemus Harper |
Q: what is the difference between jdbc and ADO(Active Data Object) . Please explain me in detail. A: jdbc is generally what java programmers use to access a database, while ado is generally what ...
|
| Images | 6/2/2008 | Artemus Harper |
Q: I am trying to add an image to a swing panel, with the following code... String location = (String) ... A: If you don't give the proper path of an image no error is thrown, you will simply not get an image. ...
|
| Java | 5/31/2008 | Artemus Harper |
Q: I am writing a program in NetBeans. I need to use the "or" operand and I can't figure out how to ... A: If you are using a standard American keyboard, you would press SHIFT=\ which should be |. On many ...
|
| Java Package | 5/31/2008 | Neal Ziring |
Q: Sir, I would like to know regaring the package concept in java.Would u please prive me the tutorial ... A: Samujeet, Many good Java instructions and tutorials exist on the Web, including ones about ...
|
| deletion of file | 5/31/2008 | Mohamed Ameer Irshad.H |
Q: can u tell me a source code which will keep a check on my files and when they are 7 days older, it ... A: u can do that using javascript and vbscript... <html> <BODY> <script language="JScript"> ...
|
| draw arc | 5/30/2008 | Artemus Harper |
Q: . i have problem to draw a arc in java.. i want draw a arch from pixel to pixel but not use method ... A: If you have the coordinates in this format, you can use Path2D.Float (or GeneralPath if you aren't ...
|
| Multiple Inheritance in Java | 5/28/2008 | Neal Ziring |
Q: All java classes, by default, extend Object class. public class ABC is equivalent to public class ... A: Preeyanka, Java does not have multiple inheritance for classes. Consider these two declarations: ...
|
| deletion of file | 5/27/2008 | Mohamed Ameer Irshad.H |
Q: can u tell me a source code which will keep a check on my files and when they are 7 days older, it ... A: . sorry for the delay.. i dint find anythin which wil try to access the datelastmodified of a ...
|
| deletion of folder | 5/27/2008 | Neal Ziring |
Q: i am working on a project where i have to delete the folder after 7 days.can you please tell me a ... A: Swati, Java provides a class that will do most of what you need: java.io.File. It allows you to ...
|
| string variable, user input | 5/26/2008 | Artemus Harper |
Q: I'm supposed to ask the user for the manufacturer, model, etc... of an aircraft. The answers to the ... A: Yes, you can do the same for a model. Then you want to create a class that can keep all of these ...
|
| saving in a folder | 5/25/2008 | Artemus Harper |
Q: I am working on a project web spider. i am storing the web pages selected by user so that user can ... A: Unless your program is running, there is no way to delete a file after a set period of time. When ...
|
| .bat file | 5/25/2008 | Artemus Harper |
Q: i want to create a .bat file for my project so that i can double click on it and execute it. i tried ... A: You might have the classpath configured incorrectly, or the batch file is not opening in the correct ...
|
| Wont print credit card number | 5/25/2008 | Artemus Harper |
Q: I am having problems printing the content of my objects that are in my arrayList. What I have now ... A: You mispelled creditcard in your constructor's paramters, as a result when you assign the value, you ...
|
| string variable, user input | 5/24/2008 | Artemus Harper |
Q: I'm supposed to ask the user for the manufacturer, model, etc... of an aircraft. The answers to the ... A: When you save something numerically, it is converted from a string to some other kind of data. ...
|
| Printing objects from an arrayList | 5/22/2008 | Artemus Harper |
Q: I am having problems printing the content of my objects that are in my arrayList. What I have now ... A: If its just printing the customer's address, then you will need to fix the toString() method in the ...
|