32,199 Topics
| |
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] | |
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. | |
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] … | |
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? | |
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 … | |
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 … | |
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, … | |
:?: 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 … | |
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. … | |
Does anyone knows is there any sample Java swing program that able to display records from database according to user searching option... | |
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 … | |
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 … | |
how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible? | |
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. | |
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 … | |
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 | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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> … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 += " … | |
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 … |
The End.