35,617 Topics

Member Avatar for
Member Avatar for prakash

hi, can anybody help me , i need the following program to be developed in J2ME. writting screen saver program using J2ME. so if anybody know about this , pls help me regards, prakash

Member Avatar for prakash
0
128
Member Avatar for salmanrauf

Hi this is Salman.I am having a problem is linear search.The program doesnt compile giving the error "No method found matching linsearch".My code is class search{ public static void main(String args[]){ int A[]=new int[1000]; for(int i=0;i<A.length;i++){ A[i]=(int) (1000*Math.random() +1); System.out.println(linSearch(799, A[i])); } } } class searching{ public static int linSearch …

Member Avatar for freesoft_2000
0
114
Member Avatar for BrownSuga

Ok i have gotten stuck on this program and I need help This program is supposed to calculate the balance of a checking account after the user has entered the type of action (withdrawl, deposit) they would like to do. My output should be a report that prints the beginning …

Member Avatar for tigerxx
0
140
Member Avatar for SureStoreX

My program for school requires me to output information as such... Name: Steve Address: 123 Main Phone# 555-5555 Social SecuritY# 555-555-555 Current Hours: 0.0 Name: Mary Address: 13 Manor Phone# 555-5555 Social SecuritY# 555-555-555 Paid:846.15 Name: Gwen Address: 1 Birch Phone# 555-5555 Social SecuritY# 555-555-555 Current Hours: 2.0 Paid: 17.1 …

Member Avatar for alc6379
0
113
Member Avatar for Ghost

I need urgent help with the following problem: Suppose there is a class AirConditioner . The class supports the following behaviors : turning the air conditioner on and off. The following methods are provided for these behaviors : turnOn and turnOff . Both methods accept no arguments and return no value . There …

Member Avatar for Narue
0
218
Member Avatar for Ghost

Hi! I have some questions on Java: Write a literal representing the largestcharacter value . I think the aswer is: Del 1 more question: You are given a class named Clock that has three instance variables : One of type int called hours , another of type boolean called isTicking , and the …

0
61
Member Avatar for javaLearner

G'day.. Am new to this whole object oriented stuff. But keen to learn. Am trying to compile this class but keep getting the following error when i declare anything that 'implements'. i remove the declarations and all subsequent code references and she compiles.. any ideas?? *********************START_OF_ERROR********************** ChatClientApplication.java:6: ChatClientApplication is not …

Member Avatar for javaLearner
0
241
Member Avatar for johnroach1985

Hi just started this new jsp course stuck in this so if you guys can please help would be very happy.The problem is this i am trying to make a jsp that asks for a username and a password and the thing is i am trying to put these datas …

0
93
Member Avatar for Ghost

I don't understand constructors. Can anybod help? The question is: You are given

Member Avatar for Ghost
0
85
Member Avatar for dianathomas

Hi there. My name is Diana Thomas. I am a junior Java Developer who needs a bit of help. I am trying to automatically send e-mails from my Java servlets. I am using JDeveloper with Oracle 10g. I have got the mail.jar and the activation.jar from the JavaMail and JavaBeans …

Member Avatar for dianathomas
0
171
Member Avatar for Hjcooke

Hi, im using a code snippet found on this website, ylinderVolume A simplistic program to compute the volume of a cylinder when its radius and length are input via MyInput.class code snippet donated to daniweb by: cscgal ( all code snippets bycscgal ) views: 52 syntax language: java122 package …

Member Avatar for Hjcooke
0
262
Member Avatar for freesoft_2000

Hi everyone, I am doing a simple program that the user is able to select whatever folders(not files) in the drive(through the argument of the folderpaste function) and is able to paste the folders (with their contents) in the the path "C:" but i think my main problem is that …

Member Avatar for cosi
0
168
Member Avatar for KCC1982

Hi, The following code compiles and runs fine from the hard drive but does not compile fine from a floppy disk. It gives me a cannot resolve symbol error for the DataSet dataSet = new DataSet(); line. Any ideas? The program is supposed to except user input for 4 integers …

Member Avatar for cosi
0
196
Member Avatar for Joel914
Member Avatar for cosi
0
172
Member Avatar for NJR

hi, I am trying to create a 2 dimmensional array that reads data from a text file using a buffer reader and tokenizer to separate the information in the text file. As far as using the buffer reader to read from text file it seems to work but when i …

Member Avatar for cosi
0
161
Member Avatar for OurNation

Is it possible to make a timer that counts down to a cerrtin day and time also is it possible to make it display some where but not in the way

Member Avatar for cosi
0
182
Member Avatar for raneka17

i'm creating a guestbook in java wherein it gets inputs(name,message) from a user then it will store this as an object. it basically works like a guestbook in webpages only that it will have a delete option. how can i do this? can anyone give me an idea please.

Member Avatar for raneka17
0
164
Member Avatar for joebanks

im trying to call a showInfo() method from a superclass MediaTypes, the subclass is CD and the driver class is Assn2. the problem im having is that for all the values i inherit from the MediaTypes class im getting only null values and for the gregorian date im getting a …

0
66
Member Avatar for server_crash

I made a program that simulates the roll of a six sided dice. I had my program return a random number between 1 and 6. The weird thing is I get 4 like 6 out of 10 times each time I run the program. So is the random number genarator …

Member Avatar for felgall
0
135
Member Avatar for BrownSuga

I am writing a program that calculates the bill when buying eggs by the dozen. I have for the most part figured out most of the code but, I am getting an error message that is saying "variable price might not have been initialized. Here is the code please help …

Member Avatar for BrownSuga
0
111
Member Avatar for grifflyn

I have just embarked on a Java programming course and have been given a task to work out the volume of a cylinder in cubic inches with a given radius and height. and then to convert it from cubic inches to to cubic Cm's which i have done fine. My …

Member Avatar for server_crash
0
232
Member Avatar for Sheryl

Hi People who have this kind heart who could help me in my Java Programming Language Project.. I cannot sleep since last week coz I can't find a way how to solve my problem in Java My teacher told me to make a simple game using Java programming Application. Since …

Member Avatar for alc6379
0
119
Member Avatar for joebanks

im trying to sort through an array and i keep getting a null pointer exception when i do... can anyone see where im going wrong....thanks getreleasedate() gets the gregorian calendar date for each object in array. new CD() creates an empty array that can hold five objects public void sortByNewest() …

Member Avatar for joebanks
0
153
Member Avatar for Rentro

Well I got the whole thing working.. thanks a lot. Now I've gotta strugle with the "stdin.readline()" which doesn't wanna work for some odd reason :P I imported the java.io.* i created a new BufferedReader ... and it just doesn't wanna work. Are there any other ways of getting input …

Member Avatar for Rentro
0
79
Member Avatar for PeterX

Hi! How can we print out boolean???? I mean when the method returns false or true. ex: public boolean test(int a, int b) return true return false thanks peter

Member Avatar for Narue
0
52
Member Avatar for rishiraj_bayerd

Hi all, i want to know [B]how jvm works,internal architecture of jvm.....all the the technical information about jvm[/B]...Because it is my seminar tropic. Please help me......It very urgent... Thanking you.... regards Rishi

Member Avatar for cosi
0
157
Member Avatar for tejasmehta

I wrote web Apllication with Servlet/JSP and JDBC. I want to introduce Struts in my prev and new application. All application are database oriented, like resumebuilder, library cataloge viewer and cart application for displaying as well as shopping appliances. My main query is till now I used java core, javascript, …

Member Avatar for cosi
0
155
Member Avatar for eboney

Hello everyone, I am trying to write a program that will list all my videos by title and also by ID# and sort titles. Also I want the user to enter a ID# and they would see what title is associated with the id #. Can anyone give me a …

Member Avatar for Banderson
0
101
Member Avatar for NJR

:cry: I am trying to create a 2d array that will store the information i hold in the txt file (which is in this format x,y - 45 50 36 47 60 56 etc then i am supposed to calculate the distance btn x and y and store it in …

Member Avatar for NJR
0
96
Member Avatar for freesoft_2000

Hi everyone, I am doing a simple compression program in which the application uncompresses the file to a selected folder. The thing is that the file that is being compressed already exists in that folder. What i need is someone to show me a way in whic the file is …

Member Avatar for cosi
0
106

The End.