Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #818
~14.5K People Reached
Favorite Tags
Member Avatar for ubi_ct83

Hi, i need help on updating data in mysql using JDBC since im using java.i want to send data from arraylist and it seems and error when i run it.below is my code for update. [CODE] private void update(ArrayList<String> list, int uid) { try { Connection con=null; Class.forName ("com.mysql.jdbc.Driver").newInstance (); …

Member Avatar for JamesCherrill
0
656
Member Avatar for DaniwebOS

Can you guys run this program, I'm having issues running it. [ICODE]import java.io.*; import java.util.*; //class definition public class NumberAdder { //The main function public static void main(String args[]) { //This declares a file to open. File outFile = new File("numbers.dat"); int sumEven = 0; int sumOdd = 0; //File …

Member Avatar for NormR1
0
451
Member Avatar for swink11123

i'm so frustrated about my coding :( now i cant even get it right :( assignment gonna due this coming week T^T and i really need help i hope you guys can really solve my problem for me T^T so here is what i did so far >< [code] import …

Member Avatar for jwenting
0
209
Member Avatar for javausers
Member Avatar for javausers
0
131
Member Avatar for getmet

I created a quote generator and when i click on a person's name, it prints out a random quote of theirs. Now the person has 20 quotes all stored in its own array. How do I get it to print out random quotes tat have not been used, once tehy …

Member Avatar for JamesCherrill
0
84
Member Avatar for ravsau

Hi everyone. I am new to java programming and taking a class in college. I got to a problem which I can do but i don't know the correct way to do it. It says to use mutator and accesor . can you please explain what should i change? I …

Member Avatar for dononelson
0
868
Member Avatar for becool007

Hey guys, I am making a Java program where it runs on a library. This library classifies my program as a script. So basically, I am scripting. Now I want to make various scripts, but I want them all to have the same layout so that I can have the …

Member Avatar for NormR1
0
106
Member Avatar for jackmaverick1

Hi! I'm looking to be able to add a user created extension to a program I'm making. The extension should be able to execute on it's on accord, then pass control back to the program when it's done. So, Say I click a button (it's got a GUI on it), …

Member Avatar for jackmaverick1
0
217
Member Avatar for bhallarahul

Is it possible to write java program for controller or programmable interrupt controller?

Member Avatar for bhallarahul
0
72
Member Avatar for initialise

Hi all, I'm stumped and can't seem to find an answer on Google. I am running a java application through Eclipse and it connects to mysql. It connects fine if I run it through Eclipse but if I make a standalone jar file and then run it through Window's Vista …

Member Avatar for initialise
0
627
Member Avatar for newbie14

Dear All, I have a java application which is a listener receiving data from different gps devices. The programme have been working fine. Each time I receive a string it will read process and store into a local database(mysql) and also write into a text file. Off late I notice …

Member Avatar for newbie14
0
111
Member Avatar for liphoso

TEX] I have this code but can not get it to display the numbers the way i want. I want the display 1 21 . . . n-2)......1 (n-1).......1 n (n-1)... 21 My code is[/TEX] [CODE]public class print{ public static void parttens() { int w=4,t=0; int k = 1; int[]array=new …

Member Avatar for dononelson
0
124
Member Avatar for aanders5

How do I split a string by 2 characters? lets say I am parsing a html page, and you have lots of tags such as <html> <title> blah bahl </html> If I wanted to split by <title></title>, how would I do that? my goal, is to get the strings within …

Member Avatar for dononelson
0
186
Member Avatar for softswing

hai friends, Am developing java project with client server interaction, am getting the Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space Exception, i doknow how to solve this ,please help me in this.

Member Avatar for JamesCherrill
0
196
Member Avatar for Sadun89

What is the best edition to learn java in basic.... Eg.. JavaSE JavaEE JavaME or if something else..... Is JavaEE [B]good [/B]for begin or [B]not [/B]? Why? What are the main differences between those editions.....

Member Avatar for Sadun89
0
129
Member Avatar for tracydo

Reviewed with answer from my quiz, I want to make sure that I understand it right? If not, what is yours? int x=1; int j; for(j=0; j<=2; j++) x=x*j; System.out.print(x); --------------------- answer is x=0 My understanding is since this for loop has no curly bracket, therefore, no loop after the …

Member Avatar for jokers6
0
116
Member Avatar for charchar88

This game is like the game scramble that you play on facebook. Also similar to boggle. Basically you input the dimension of the grid of letters that you want and the dictionary.txt file and it will print you all the words found. It's suppose to find words in all directions …

Member Avatar for nezachem
0
205
Member Avatar for Chitru

i googled for awt learnings then found a thread that awt is not necessary, you can directly go to swing. then i started swing, but i can't underdtand it that easily. now i know the very basic in swing, will you please help me to increase my accuracy by giving …

Member Avatar for JamesCherrill
0
280
Member Avatar for kayba

Ok I'm stuck on my school work. No I don't want someone to do the work for me but I need a good tutorial or pointers on how to get this assignment done. Write an Java Server Faces application using a MySQL database driver that connects to the registrar database …

Member Avatar for dononelson
0
85
Member Avatar for Mestika

Hi everyone, I'm working on a small project and have run into some problems. Briefly described, what I'm attempting to do is: I've a rather large text file with a different sentence and I need to find all the words in each sentence and add them to some sort of …

Member Avatar for JamesCherrill
0
442
Member Avatar for scarletfire

System Specification A local football club wishes to store information on its current squad of players: Each Player’s personal information (first name, last name, age, height and weight) should be recorded in a class Person. Each Player’s record for the season should be stored in a class Player. The information …

Member Avatar for scarletfire
0
157
Member Avatar for SMITA6076
Member Avatar for kesh1000

hi can anyone tell me why the netbeans ide generates a null pointer exception. here my code. for class CustomFileFilter [CODE]import java.io.File; public class CustomFileFilter extends javax.swing.filechooser.FileFilter { private String extension; private String description; public void setDescription(String description) { this.description = description; } public void setExtension(String extension) { this.extension = …

Member Avatar for kesh1000
0
177
Member Avatar for tracydo

Please help with this program! I wrote & modified this code many time but not quite find a good solution for it. Below are some error after complied. Program problem: Input: student names, student IDs, their courses and letter grades Output to a file in table layout format with: College …

Member Avatar for dononelson
0
491
Member Avatar for ndiiie

Hi all, I want to ask a question about replacing specific word in a string for example I have a string of: input = a fast nope e i want to replace word "a", if I use method replace which is: input.replace("a", "hello"); the character a in fast will also …

Member Avatar for dononelson
0
180
Member Avatar for jackmaverick1

Hi! My problem is that i have an object that needs to be in an array however the array must not be the same size each time I create an array. I know that you would use the [ICODE]classType[] objectName={new classType(),new classType(),new classType(),etc};[/ICODE] That would only work if I had …

Member Avatar for masijade
0
109
Member Avatar for debeloglava

I have never programmed a client / server before but I would like to create a game where objects can be passed back and forth between two players who reside on separate machines. An example object would be a game piece and the reason it would be passed is because …

Member Avatar for JamesCherrill
0
195
Member Avatar for 24x24

Hey guys I had some homework in a Java class on Friday. I completed it so I am not looking for answers (I also don't think it will be graded). I was just curious, as a learning exercise, how would you guys improve this and why? Now remember I'm a …

Member Avatar for 24x24
1
180
Member Avatar for spidey32

Hi, im new to this forum and also Java. Im currrently doing my degree 1st year. My lecturer gave me a question on factorial and im unable to solve it. i need to explain why any number of threads can be executing inside of it without causing interference in the …

Member Avatar for spidey32
0
99
Member Avatar for Limiter

HI, a pretty frustrating problem arose. I am not going to post any code this time. This should be straight forward question anyways... :) I have a class that contains a constructor with arrays. Also, a methods to add to the array using scanner class. The problem is, I implemented …

Member Avatar for dononelson
0
206