32,199 Topics

Member Avatar for
Member Avatar for P00dle

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 …

Member Avatar for P00dle
0
71
Member Avatar for balaji153

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.....

Member Avatar for masijade
0
185
Member Avatar for aqhulcus

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 …

Member Avatar for aqhulcus
0
264
Member Avatar for djenoe

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; …

Member Avatar for NormR1
0
143
Member Avatar for Cort3z

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 …

Member Avatar for Cort3z
0
68
Member Avatar for divya bangroo

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

Member Avatar for steph47
0
107
Member Avatar for vamsikrishna20

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.

0
86
Member Avatar for P00dle

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?

Member Avatar for musthafa.aj
0
93
Member Avatar for mgd00tz

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 …

Member Avatar for NormR1
0
1K
Member Avatar for Neeeraj Singh
Member Avatar for P00dle

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 …

Member Avatar for P00dle
0
892
Member Avatar for Guest51

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 …

Member Avatar for griswolf
0
175
Member Avatar for bert2020

[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 …

Member Avatar for satija_tarun
0
252
Member Avatar for Rajesh.n84

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

Member Avatar for Mr.Antony
0
927
Member Avatar for Bewitched

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 …

Member Avatar for pi_lord12
0
178
Member Avatar for smoothe19

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.

Member Avatar for NormR1
0
62
Member Avatar for SashaC

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.*; …

Member Avatar for NormR1
0
235
Member Avatar for interjuan

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 = …

Member Avatar for NormR1
0
129
Member Avatar for roishtraifler

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.

Member Avatar for NormR1
0
144
Member Avatar for ans025

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 …

Member Avatar for NormR1
0
1K
Member Avatar for abbyo

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);// …

Member Avatar for abbyo
0
89
Member Avatar for java_programmer

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 …

Member Avatar for java_programmer
0
324
Member Avatar for makan007

If I have a string. String msg = "I love mickey mouse"; What method can I used to display the string, "mickey"?

Member Avatar for java_programmer
0
134
Member Avatar for CheeseDonkey

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 …

Member Avatar for JamesCherrill
0
182
Member Avatar for sasidhar1229

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.*; …

Member Avatar for Amit Tomar
0
538
Member Avatar for djenoe

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 …

Member Avatar for shrekting
0
122
Member Avatar for Dzero

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 …

Member Avatar for NormR1
0
216
Member Avatar for aarthi87

please help me to calculate the distance between each pixels between the images stored in the database

Member Avatar for JamesCherrill
0
78
Member Avatar for kanjali

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 ...

Member Avatar for masijade
0
297
Member Avatar for ashwiniku

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. /** * */ …

Member Avatar for musthafa.aj
0
151

The End.