31,001 Topics

Member Avatar for
Member Avatar for Hjays

write and test a class that can be used to create and object whose instance string variable can be initialised to a string constant such as: "I fined that the harder I work the more luck I seem to have" the class need to provide the following methods A method …

Member Avatar for Iron_Cross
0
171
Member Avatar for macca1979

Hey there, First off I'm really new to Java so please bear with me. I need to translate a line of text from one form to another. An example line segment has the following format: " step(sent(1,A,B,vars(Na,Rv,ped(pk(B),cat(N a,A)))))" This means that at step 1, A sends to B that which …

Member Avatar for Iron_Cross
0
186
Member Avatar for rita161

hi!!!!! i need help to improve my java knowledge.. im very weak in this programming subject n this is one of my important subjects tht im learning in college right now. please advice me or show me a way to start from scratch. thank u!!!! -rita161-

Member Avatar for rickste_r
0
102
Member Avatar for Elektro

hey anyone have any good ideas for a simple java program game. thankyou

Member Avatar for Iron_Cross
0
102
Member Avatar for shantuli

hello everyone, can anyone please help me to solv the following problem. Write a menu-based program with the following opetions : 1 Addition 2 Subtraction 3 Multiplication 4 Division 5 Exit take two numbers from the user and run the chosen operations on them. thank you, regards, shantuli

Member Avatar for shantuli
0
134
Member Avatar for nanosani

If I retrieve memory from freeMemory() method .... which memory is returned ... the free ram or the memory available to jvm. same is the question for totalMemory(). Thanks.

Member Avatar for rickste_r
0
129
Member Avatar for aruna

helloo... I'm going my Mtech 2nd course..in which we have 1 year proj MY research problem is -to design an interface to optimize the search to search engines(ex.Google) . My approach is .....When we type keywords in the browsers of search engines..then instead of only matching the keywords it should …

0
80
Member Avatar for phani.n

for my project i need a program code the problem is how to move a component which is placed on a frame by mouse motion. the component may be button or textfield which should be moverd according to mouse direction .please help with full code as i am new to …

0
53
Member Avatar for vaaseegaran

[FONT=Arial]HI, MY PROJECT IS ABOUT TO DRAW A GRAPH, WHEN WE GIVEN TWO EQUATION OF THE LINES MEANS APPLET HAVE TO FIND THE POINT OF INTERSECTION AND TO POINT THE INTERSECTION PT IN THE GRAPH [/FONT][FONT=Arial]THERE ARE THREE CASES. [/FONT] [FONT=Arial]1. INTERSECTING POINT[/FONT] [FONT=Arial]2. LINES ARE PARALLEL[/FONT] [FONT=Arial]3. IF TWO …

Member Avatar for vaaseegaran
0
95
Member Avatar for jeril842002

[COLOR=DarkGreen]i am doing a mini-project i would like to watch the behaviour of several people on net. how long they remain at a particular site how many sites do they visit and what are the sites etc can anyone help me please[/COLOR] :cry:

0
51
Member Avatar for Bill T

Can anyone help im trying to write a program that you can pick a number between 1-100 and another line which you can pick numbers from 2-100 then mutiply the end numbers you pick and get a answer... I dont have much to go on. I really need help... more …

Member Avatar for rickste_r
0
135
Member Avatar for shantuli

hello everyone, i am very new in java.this is why i need some help from you.i hope you will help me by solving the following problem: write a program that simulates rooling a pair of dice. you can simulate rooling one die by choosing one of the integers 1, 2, …

Member Avatar for rickste_r
0
839
Member Avatar for Elektro

Hello, I am fairly new to using Java, and something I wish to do is create a Java program to calculate and display the distance between pairs of (x,y) points supplied from a text file. I'm using xCode on Mac OS X, and I've got a file named "data.txt" in …

Member Avatar for rickste_r
0
110
Member Avatar for mik yaf

hey there, i have been trying for sometime now to create a simply spellchecker using probabilities but i can't seem to get my head around it. i have a program which will read in a line of text and if a word is spelt wrong it will give you the …

0
68
Member Avatar for roda

Hi, I have created an applet code. The code is normally working fine. I have IIS 5.0 installed on my Windows 2000 Server. My web site home directory is "C:\Inetpub\wwwroot". I already coppied the files to the correct folder. In the address box of Internet Explorer, I typed "http://localhost/myfile.html". myfile.html …

0
76
Member Avatar for StRoNg-WiLLeD

hi all... actually i'm noive programmer In java... I got a problem with a programm i've done..n which's actually considered as a simple one for me .. whereas it's so easy for ya , all ... But B patient with me plz and help me overcome all the troubles I …

0
86
Member Avatar for shantuli

hi everyone, i am very new in java.can anyone help me to do the following problem: Write a program to do the following using in-built methods in the string class of java. 1) Find the 5th caracter in the string " RUSTIN BOND" 2) Find the index of character "K" …

Member Avatar for rickste_r
0
118
Member Avatar for jabrongr81

this is a homework assignmnet but i have tried really hard a default constructor to create a Vector, an addBox method that adds a Box object to the Vector, a printVector method to print the dimensions of each Box object in the Vector. public class BoxVector { //Part A: declare …

Member Avatar for rickste_r
0
92
Member Avatar for macca1979

Hey, First off I'm really new to Java so please bear with me. I need to read in a file and translate it to a different output format. An example line segment from the input file has the following format: "step(procs(),rule(1,A,B,vars(Na,Rv,ped(pk(B),cat(Na,A)))),procs())" (i) This means that at step 1, A sends …

0
112
Member Avatar for b2174ml

I have a servlet which calls a jsp file. How do i pass an argument to that jsp page from within the servlet, and what code is necessary in the jsp file to access the argument? Thanks Mike

0
74
Member Avatar for pollacchi

HI there I am designing a draughts program and require a game tree for the computer moves. I intend to use a negamax game tree and have obtained the following algorithm Algorithm: 1: if (depth ==0) then 2: return evaluate(tree) 3: score = -inf 4: for i<-1 to node.branch.length 5: …

0
68
Member Avatar for freesoft_2000

hello everyone, I just like to check with you guys that if i want to writ a simple java program using only the awt package do i have to include the java.swing.* file header as well Someone let me know about this, Thank You Richard West

Member Avatar for nanosani
0
92
Member Avatar for freesoft_2000

hi everyone, Can anyone recommend me a good free java 2 ebook for download on the net or even a good free java 2 tutorial download. Someone please let me know about this or even put a link on your reply Thank You Yours Sincerely Richard West

Member Avatar for nanosani
0
90
Member Avatar for myloginh10

i am looking for a "best" java IDE. currently I am using the IDE from [B][url]http://www.syncedit.com/jedit_details.html[/url][/B] it contains many new Java tools, but i want to know: which java IDE are you using now? cheers

Member Avatar for nanosani
0
78
Member Avatar for shantuli

hello everyone, i am very new in java.can anyone please help me to solve the following problem: Write a program that will print my initials to standard output in letters that are nine lines tall. each big letter should be made up of a bunch of *'s. for example, "DJE", …

0
75
Member Avatar for NoviceChick

i am supposed to implement a linked list and a rbtree for a spell checker. Some of the info has been given by the lecturer but i am so lost as to where to start! We were not taught java and i dont know how to approach the problem :?: …

0
55
Member Avatar for chr999

Hi Does anyone have any ideas how to decode Caesar/Monoalphabetic Ciphertext. I am doing a course in computing at our local Uni. I have done a bit of programing in java but i have not got a clue where to start with this one. I have been handed a page …

0
90
Member Avatar for Bob Norris

Hello, I'm wondering if there is a way to pre load java elements to a visitors JVM cache. I have a chat client that I would like to speed up loading time. I can show examples if needed

0
56
Member Avatar for jim1

that is i've got an array of buttons and i want to replace two buttons (their location on the screen) by clicking on first and then clicking on the second to replace thier location i.e. when i click on button1 first (which is at the first location in a row …

Member Avatar for jim1
0
105
Member Avatar for darnandy

I am trying to implement a simple client/server app using a DatagramChannel to pass ByteBuffers. The client seems to connect okay and the number of bytes returned from the write method is correct; however, the server side never seems to receive anything Server side: DatagramChannel inchannel; DatagramSocket ds; CLIENT_ADDRESS = …

0
98

The End.