32,199 Topics
| |
I have a GUI with a table on it with only 1 column(more will be added later). The Gui gets an arraylist that has to be iterated through and then each value has to be inserted into the table. Whatever I try, I can't get the GUI to set the … | |
can any one help!!! Do i need to learn java to code in jsp... Yesterday i tried to print string from text box with jsp.I found it's easy to understand . But i don't know even how to declare a variable in java. Help Me please..... | |
hi, i'm really new to programming in general, and i think i've figured out how to insert and select data from mysql databases, however, i can't seem to get values from a table and work on it here, i'm trying to 1) grab a number from my table 2) generate … | |
subject matter experts, greetings I come here b'coz i got nothing left i thought i solved this but to no avail. i cannot make it work,, [CODE]import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; … | |
Hi. I am working on a multi threaded program (game renderer). What I want to do is to loop through my threads and get a boolean value that tells me if the thread is done rendering or not. If all the threads is done, I want the code to go … | |
how can we run any project which is already made by some other person and we have all the files of that.if it is in java or vb.net project and we have the folder that contain all the files of the project | |
Hello Sir, I am using a web application . I need to be able to access the clipboard data using javascript . I have completed implementing this in internet explorer but haivng an issue implemnting this feature in mozilla . code in internet explorer: document.getElementById('ClipboardContent').value = window.clipboardData.getData('Text'); Regards, vamsi. | |
I'd like to improve my Java knowledge. The job I'm in right now isn't really teaching me anything new. What would be the best way for me to become a better programmer? | |
import java.io.EOFException; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInputStream; public class ReadSequentialFile { private ObjectInputStream input; public void openFile() { try { input = new ObjectInputStream( new FileInputStream("clients.ser")); } catch (IOException ioException) { System.err.println("Error opening File"); } } public void readRecords() { AccountRecordSerializable record; System.out.printf("%-10s%-12s%-12s%10s%\n","Account", "FirstName", "LastName", "Balance"); try { while … | |
Sir, please suggest me some projects.I will be grateful to you. Thank you. | |
I have a client and a server - the client sends the server a message, and depending on what message is sent, the server will perform an action and then reply to the client. Most of the actions that I have implemented are working. I need help with one of … | |
Here is my code for a working program that I need to sort the output by the DVD's Title [CODE]// import java.util.*; import java.text.*; import java.io.*; public class InventoryApp2 { public static void main(String args []) { Scanner input = new Scanner(System.in); // Set the size of the array based … | |
[url]http://www.deitel.com/books/jHTP5/jHTP5_faq.html#compile%20servlet[/url] Go here to get a better explaintion than my simple answer. I had this error and I looked all over online in many many forums. I then went back to my textbooks website which gave me the above page. You can do two things When compiling the fiile type … | |
hi! This is Rajesh new java developer. i need help from our community thanks (in advance) for ur help PROBLEM iam developing application in AWT when i click PRINT button i need to get printout from printer please help me providing code or idea Have a nice day | |
I got this to run but it will not display the final result. It ask for C or F then the temp degree but will not display the conversion. The process just completes. Any ideas? I am new here.... Thanks My project::-/ [CODE]import javax.swing.JOptionPane; public class Assign8_Cheshire { public static … | |
How to draw an image/graphics on a specific panel, or in anther word, if I have a JPanel blah = new JPanel() and JPanel moreBlah = new JPanel(); I want the paint function only to draw stuff on blah, not on moreBlah. | |
I am creating a GUI calculator. When I enter amounts and press submit, negative infinity appears in the monthly payment area instead of the dollar amount. I'm not sure what is causing the problem. My code consist of three files: the GUI, calculation, and text file. GUI [code] import java.awt.*; … | |
Hi again! Pls some one help me to find out what is the problem with this code.... [CODE]import java.io.*; import java.net.*; public class NewClass2 { public static void main (String args[]) { try { // Construct data // Send data String data="Something"; URL url = new URL("http://www.google.co.uk/"); URLConnection conn = … | |
Hello, im trying to write to an external program and the inputs and outputs works fine for the first time that im printing the stdin. After this time the program look like it stuck. Help Please. | |
Hello I am very new to Java and I really don't know exactly what I am doing. I know a little bit of other programming languages so I'm trying my best to figure it out for myself but I am supposed to: [B]Write a Java Application which will read a … | |
I was given a font finder program, but I need to resize the applet... any suggestions on where and what code is needed to fit the applet to a specific size? If not, is there a setting in eclipse that will work? [CODE] public Dimension getPreferredSize() { return new Dimension(800,800);// … | |
Could anyone please explain what is Idempotent method in Java? After google, what I found about this is [B]Idempotent methods are methods, which are written in such a way that repeated calls to the same method with the same arguments yield same results[/B]. And am not getting any example to … | |
If I have a string. String msg = "I love mickey mouse"; What method can I used to display the string, "mickey"? | |
This is making me angry. I keep getting a "this method must return a result of type int" error message, but obviously I have a return statement. This is a program that is supposed to perform a sequential search for a string index. [code=java] public static int nameSearch(String[] inOrder, String … | |
I am doing servlet program. It is working when I run it as a GUI appliction. But when I run it as a web application it arises java.lang.NoClassDefFoundError: java/lang/StringBuilder at SDBApp.service(SDBApp.java:14)please help me. Here is my code. SDBApp.java [code]/*servlet which takes care of inserting rows in Data Base*/ import javax.servlet.*; … | |
Trying to get this code to work (bit of guidance and help would make a difference) explanations only are fine.. main method doesn't accept arrayProperty() import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; public … | |
I cannot figure out how to get my icon to display, or get the GUI to flip through my array object. i have many errors that i cannot solve. i hope some one can help me. here is my code. [code] import javax.swing.JFrame;//imports java's JFrame component //----------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------- //Main Class … | |
please help me to calculate the distance between each pixels between the images stored in the database | |
Hi, Iam new to java as iam working for dotnet C#. Can any body tell me the software to convert java code to C#. Please, iam in very much need for it. Thanks in advance, Anjali ... | |
hi, there are 2 different database 1 database have the list of all the users and another DB only have the details of users who are logged in which is production DB. i have writthen below code but i am stuck over here plese do the needful. /** * */ … |
The End.