36,051 Topics
![]() | |
for some reason all sudden eney thing with javascript:nextpage() or eney javascript link doesnt work ever thing i do based on that like running msn sites my website dcclan20 playing games on msn if eney one can help i really like that alot before i throw this pc out the … | |
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 | |
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. | |
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 … | |
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 … | |
[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 … | |
[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: | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 | |
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: … | |
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 | |
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 | |
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 | |
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", … | |
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 :?: … | |
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 … | |
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 | |
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 … | |
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 = … | |
Hi Everyone, I would just like to enquire with you java experts out there is that in the past java used to have a bug in which when you are using the rtf swing editor and want to save the document only the text gets saved and not the pictures. … | |
hello! I should create a graph bipartite in java language.The graph have 50 knot at left and 50 knot at right with 50 edges from one knot of left to every knot at right.Every knot have a weight and I should compare a knot in the left with a knot … | |
Hello every1. I'm having a tough time trying to make a button(when clicked) link or point to a partucular file(e.g setup file) and run that file within the same system. Please help! :( a little code will help. thanks in advance | |
I am creating a notepad application .... and I want to change the font of the selected text in the JEditorPane .... but when I change the font now ... it changes the font of the whole text .... same is the problem with background and foreground colors.... :o | |
I need someone to help fix the following code and re-write into IF-THEN logic? [code] public class Mystery4 extends Applet{ int clickCount=0; public boolean mouseDown(Event evt,int x,int y) { clickCount++; repaint(); return true; } public void paint(graphics g) { g.drawString("Click 10 times!",80,30); g.drawString("Clicks: "+clickCount, 120,50); switch(clickCount) { case 0: g.drawString("You … | |
Hello everyone.Is it possible to divert keyboard imputs to do nothing(e.g when F1 is pressed it must do nothing,when refresh(F5) is pressed ,it must do nothing etc.).If yes, i'd like 2 know how its done. ani help will b appreciated thanx in advance | |
Hi i am allen :lol: I have been developing a small software package which incorporates Address details. Now i have created the design using swing. I am using Oracle as backend. I am facing three specific problems. 1) I have added JTree using hashtable, but wen i add subnodes like … | |
Dana, I am a Beginner in java and I need help desparately. I have a project that I have been assigned and it is to biuld a functionality to process a credit card batch payment. I have done most of the work, now it's time to do the implementation and … | |
Hi My name is richard west and i am wondering if anyone knows how to use windows common controls in java. By common controls i mean open file dialog, save as dialog, font dialog and etc. Please if someone knows please e-mail me the codes at [email]freesoft_2000@yahoo.com[/email] or show me … | |
I get errors targetting the ' that I use for each case. I tried using nothing and also quotes in their place, but no luck. Whats the problem. If this isn't the place to get help with programs, please point me in the right direction. import java.util.StringTokenizer; class Birthday { … | |
Hi there. for the last couple of weeks I am trying to find a solution to my problem but with no luck. There is a program written in C++ which can fine the mac addresses of the bluetooth addresses that are in range. As soon as it finds them, it … | |
I have recently installed GNU Emacs and other Java software on my pc. I seem to encounter an error while attempting to comile a program. The error says: bash.exe: warning: could not find /tmp, please create! The file where my programs are kept is C:\Java\*.java I do have a file … | |
Hi...i am only using internet explorer for browsing and my browser stops when i enter the hotmail . It keeps on showing a little yellow message saying " done , but with errors on page " and nothing happens if i click on compose or the mail i want to … | |
This is my first post here. I have been having this problem for a few months and cannot figure out why! When I try to go to a javascript "new" window at any website, I get "Page cannot be Displayed" and the Address Bar reads "javascript:reqWin4('part1.html'). This is just an … | |
I am running a java database Manager under solaris the main command is $ java DBMan & I run this and get the following error Exception in thread "main" java.lang.NoClassDefFoundError: DBMan My ClassPath is set to the below CLASSPATH=/opt/VCNsrv/bin/java/DatabaseManager/DBManager.jar This IS the main path to the .jar file that contains … | |
I am doing my homework right now. my program is providing 3 slider that user can choose RGB value and fill the color in rectangle. also everytime when the user slide the slider, there should be a JTextField can show the value which the user choose. my problms are: I … | |
| |
my code is posted below the program is to be very simple just just a button a choice box a text box and a canvas the user is to be able to select what item they want and then the price appears in the label....then the user is able to … | |
I cannot run javascript on Windows XP Home. I've got rid of pop-up blockers and adware stuff. i've checked and re-checked settings in IE but it still will not run javascript on my machine. However, it will do this if I am surfing the web. Why won't my machine allow … | |
Hi, I completed my Advanced Java with JDBC,Servlet and JSP. I write one simple web application for online shopping using jdbc,servlets,beans and jsp. I installed Sun Java™ System Application Server Platform Edition 8 on my windows XP system. Now, my questios are like 1) where to put my index.html to … | |
Hi everyone.I'm basically new to java but with the help of this forum i have managed to come up with the folowing code(see attachment).I'm a bit stuck now and i need help. PROBLEM STATEMENT When the login button(submit) is clicked i want the program to connect to a db(which i … | |
hi everyone.Can anione please tell me how can i create an action listener on a button in a java application.I know how to create one on an applet but somehow cant seem to do like wise on an application.Please help!.. :o | |
When I tried to set fullscreen in my applet I got trouble with the sandbox. But it only said [B]exclusive[/B] fullscreen mode is not allowed. So if I dont want to sign my applet, is there any way to get another fullscreen mode? I dont know what the other modes … |
The End.