32,204 Topics

Member Avatar for
Member Avatar for calvinnhobbes47

I'm taking AP comp sci and I'm new to JAVA. Can someone help me write this program? [B]Assignment:[/B] 1. Write a program that accepts the letter grades for a student, calculates the student's GPA, and prints it out along with one of the following five messages: Eligible Ineligible, taking less …

Member Avatar for server_crash
0
212
Member Avatar for xxx1203

;) me is doing an assignment using java...but i meet some problem here..it is about hangman games..it is like this: if i click A button it will have to go through all the alphebert, if the 1st alphebert is A it will display 'A'

Member Avatar for nanosani
0
78
Member Avatar for holmberg

I'm trying to add a commission calculator to my new website, and it works properly for the first two of three form entries, but I wish to add a 3rd level calculation. I'm not familiar with javascript at all really, so I have no clue what to add to the …

Member Avatar for heymichelle
0
169
Member Avatar for mkas82

I am a postgraduate student and I have exams in java language..I have some problems with 3 programs.Can anybody solve them for me?Can I send them to someone who loves Java?

Member Avatar for alc6379
0
147
Member Avatar for jak

:sad: When going to compile a program it would not recognise the class object I had created. Since I found no error I checked out some of my previous work and found that no other class objects I have previously created are working either. I have had this problem before …

0
91
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
113
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
385
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
99
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
145
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
123
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

The End.