32,199 Topics

Member Avatar for
Member Avatar for naveen_vt

I have a program i read a single file,but i want to read 2-3 file one at a time can it possible. Pls solve my problem and give me the code. [SIZE=1]undefined[/SIZE]

Member Avatar for nanosani
0
64
Member Avatar for kelvin

i would like to add sound in my java calculator when an error occurs(e.g when operation *and / are pressed).please help me with the sound code.

Member Avatar for server_crash
0
112
Member Avatar for johnroach1985

the program works fine but it gives this java uses or overrides a deprecated API error after i compile the code is below it is a program that uses sql the data base is northwind.I hope you could help me its a project so any help would be welcomed. [CODE] …

Member Avatar for johnroach1985
0
26K
Member Avatar for server_crash

This is just a general question. I was wondering how you can make programs compile and run quicker? Does it have to do with the primative type you use or what?

Member Avatar for cosi
1
383
Member Avatar for xR3vx

I'm stuck while doing my school's java project. Anyone interested in helping out?? i need a sample on an instant messenging server & client java codes. Do help by showing me a couple of them ? So as to get an idea of how to do my project or start …

Member Avatar for nanosani
0
84
Member Avatar for cosi

I recently bumped into this interesting problem when writing code that used serial port communications. Writing data to serial port fails after ~ 30 seconds of use. Everything works fine for the first 30 seconds or so, then an IOException: write error occurs. I am writing data to the OutputStream …

0
79
Member Avatar for Firsttimer

Hello All, This is my first time taking Java, so I might need quite a bit of help form ya all. Anyways, I have this program that has to be in Applet, and it is comparing two floating numbers. I have to have the program decide which one is larger, …

Member Avatar for CodeMasterFlex
0
134
Member Avatar for psylocke

:?: hello everyone, id like to ask for some help. i am a beginner in Java programming. i am doing mastermind game using java. the whole logic of the game is already finished, and my ONLY problem now is :?: HOW will i be able to repeat the whole game …

Member Avatar for nanosani
1
98
Member Avatar for Naveen

hi all.iv been assigned a project to create rule sets for a database using using Java and Xml. i am supposed to create rules and then customize the rules as required into various modules. initially i am supposed to use a flat file but later move on to a DB. …

0
61
Member Avatar for evo

Does anyone knows is there any sample Java swing program that able to display records from database according to user searching option...

0
117
Member Avatar for maendeleo55

When tring to write a program using a class, my instructions is to request an imput of three numbers and then create a random class to generate three numbers, after doing so, i must determine if the random class highest number matches the highest number of the numbers instructed to …

Member Avatar for nanosani
0
144
Member Avatar for tayhui

Hi! Can anyone help me on the below java program? How to call the thread program - the parallel program? my program can only run in sequetial but not parallel... I need to write a program that will receive as input a single M x N dimensional matrix A with …

0
49
Member Avatar for nanosani

how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible?

Member Avatar for cosi
0
144
Member Avatar for ineedjavahelp

Why do I get this error? GUI3.java:13: GUI3 is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener public class GUI3 extends JFrame implements ActionListener ^ 1 error please help me! thanks.

Member Avatar for cosi
0
91
Member Avatar for Squires

I need a little help connecting to a database in Java. The example in the book I have uses the following: [code] static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver"; static final String DATABASE_URL = "jdbc:db2j:books"; [/code] It goes on to use it: [code] System.setProperty("db2j.system.home", "C:/mysql"); Class.forName(JDBC_DRIVER); connect = DriverManager.getConnection(DATABASE_URL); [/code] First …

Member Avatar for GeethaAdhi
0
183
Member Avatar for Elektro

im compiling a who wants to be a millionare game and i am unsure where to start does any one have any ideas??? :mrgreen: thanks

Member Avatar for Elektro
1
100
Member Avatar for server_crash

I have been working on TicTacToe for some time now. I just now got it to work but it's not working properly. When somebody gets three in a row a label is suppose to show that a player has won but it does'nt. So I cant figure out why it's …

Member Avatar for server_crash
0
122
Member Avatar for izaki

i have a project is something like instant messaging, how to know who logged in and check wheather the user is in my userlist (e.g user.txt) Anyone can help me?

Member Avatar for Iron_Cross
1
162
Member Avatar for freesoft_2000

Hi everyone, I would like to ask if anyone knows how to load classes from a .jar file and what api i should be looking at. Could someone show me or e-mail me the codings of how to do this the right way. My e-mail is [email]freesoft_2000@yahoo.com[/email] Thank You Yours …

Member Avatar for nanosani
0
81
Member Avatar for Paz

I have a working Java application (command line input only) that I would like to adapt to run on a web server and accept input and give output to a servlet/JSP page. I am familiar with basic Java programming - am having trouble knowing what to do first. This seems …

0
59
Member Avatar for Rashid Riaz

Hello, I am new member here I need help with my program. I am trying to calculate interst for a loan I am not able to calculate last payment for loan like if loan amount is 1000 and interst rate is 18% which come up 1.5% for every month and …

Member Avatar for nanosani
0
117
Member Avatar for Cockney

Hi all new in this forum I'm facing a problem. I need to pass the contents of an XML file to a hash table. The problem is that for each key i have multiple values. i.e. <?xml version="1.0" encoding="utf-8" ?> <Menu> <File> <EN>...</EN> <FR>...</FR> <IT>...</IT> </File> <ShowHide> <EN>...</EN> <FR>...</FR> <IT>...</IT> …

0
113
Member Avatar for copycat

Can someone help mi I need to do a word count i enter a word e.g. superboymother it will search for the char a,e,i,o,u and return mi the result is: a=0 e=2 i=o o=2 u=o

Member Avatar for copycat
0
92
Member Avatar for Newbee

Hi, I am a novice in programming and need help in my mortgage calculation program. I have the GUI set up all functioning good the only problem I have is the calculation portion that is not doing its job. Can anyone please guide me how to correct my problem? import …

Member Avatar for nanosani
0
118
Member Avatar for gkakkireni

Hi to all i have requirment like this the field length is 15 digits but am getting input only 6 digits..means i have to put spaces after the 6 digits position menas spaces after the value.how to do it in java,could u send the sample programe . thanks in advance …

Member Avatar for Banderson
0
108
Member Avatar for modumass

hi all. i need to write an application class with a main method and a second method called tempCalc, and then in the second method put the code from a previouse temperature calculation experiment. but i have no idea how to do this. i read the part in "Sams Teach …

Member Avatar for Banderson
0
165
Member Avatar for akilbakari

does anyone know where i can get source code to write a java 2 program GUI that converts integers to roman numerals? i would appreciate it. my e-mail address is <<snip>>. by the way, here is my code: import java.io.*; public class Roman{ static final int values[]={1,5,10,50,100,500,1000}; static final char …

-1
219
Member Avatar for tablet

i have started to create a simple java game and at the moment i have done as much as i can possible at the moment the game builds with no errors. but it does nothing. what i want it to do is that the player enters a bid and if …

Member Avatar for nanosani
0
255
Member Avatar for ranyodh

hi to everyone.... I got a problem with queries.... before i tell my problem, please look at the is code - // employeeCode is ArrayList containing employee codes. String query = "SELECT Name, FatherName from Employee WHERE "; for(int i=0; i<employeeCode.size(); i++) { if(i == 0) { query += " …

0
73
Member Avatar for C#_Virgin

Hi, I'm new to this site so quite unfamiliar with how things work.... I have recently begun learning about C# and the .Net framework. As a java programmer, I found C# a good basis to start on. I wanted to change a lot of my existing code from Java to …

Member Avatar for Decency
0
163

The End.