32,204 Topics
| |
Greetings! I was given a task yesterday to constuct a table like this: 5 4 3 2 1 4 5 4 3 2 3 4 5 4 3 2 3 4 5 4 1 2 3 4 5 using loops and only loops. I've been trying to solve this for … | |
JSP Scenario: Login page containing user id and pwd text boxes, each having a key boad button (onclicking the key board button will take to key.jsp where the user can input values in text box) The keyed value in key.jsp text box should be returened to login.jsp in corresponding to … | |
If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks | |
Hi...i m new to java.... problem defination:--- Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection … | |
how can we play mp3 in jsp page using struts framework? is dere any other way? | |
Hi, recently, while trying to set up and IPBanning system (Please dont say how its "useless" or etc.) ive gotten a problem when i try to compile it. this is what it says: [ICODE]client.java:12371: cannot find symbol symbol : method appendToBannedIP(java.lang.String) Location: class client appendToBannedIP(p.connectedFrom);[/ICODE] and the full code of … | |
Hi all, I want to create a Java product developer. That means a tool to update an existing version of an application automatically. You guys/gals have any idea. If you know any example regarding that, please put a link here to see. I really appreciate that. Thanks a lot. :) | |
hello, I've created an JAVA application that have an [U]Report[/U] I used [U][B]JasperReport[/B][/U] and I bundled it to jar file!.... but my problem is! when I click report button there is no action.... it supposed to be run the JasperViewer!... | |
hello friend, i want to set my java class path. am using netbeans 1.6 version..... pls make me happy by giving the class path.. | |
hello, I created an application that use another jar files!..... my application is connected to database and have a report!.... as we all know to connect a JAVA App. in mysql database it needs an connector!.... I configure it out!... my problem is I have another JAR files for for … | |
Hi all, I have built some code that prints out directory files and non-diectory files. I want to get some help in indenting my code further to achieve level 5 indentation or further since now its up to2. Any ideas please?? Below is the code. I have 4 classes; [code=java] … | |
Is anybody know that how to create a speech recogniton system? Any software need for recognise the speech? This is because I try many time with the simple speech recognition application, it have the error and cannot run. is it I need to use the IBM via voice software together … | |
My problem is I have my rmi server behind the firewall+nat enivironment: in the server i have 1: public ip: 11.12.13.14 2.local ip: 190.9.30.242 3.gateway ip: 90.9.30.240 i have assigned the public ip to java.rmi.hostname to public ip and registry. rebind (localip, objectreference). Server: try { System.setProperty("java.rmi.server.hostname","11.12.13.14"); System.setProperty("java.rmi.server.useLocalHostnameproperty", "local ip"); … | |
Hai Friends Iam using RMI concept for my project, i want to connect client and server by using internet connection , but its working fine on LAN connection, it gives following Exception [code] java.lang.RuntimeException: java.rmi.ConnectException: Connection refused to hos t: 125.17.11.229; nested exception is: java.net.ConnectException: Connection refused: connect at Client.init(Client.java:23) … | |
Hi. I am attempting to make a program that plays a midi file, like a [URL="http://java.sun.com/j2se/1.5.0/docs/api/javax/sound/midi/Sequencer.html"]sequencer[/URL] would do, but also have the sequencer send off any NOTE_ON or NOTE_OFF messages to an external method. I have looked through the api and cannot find exactly what I am looking for. I … | |
// I am trying to complete this for my class I am taking. Can anyone assist me in completing the task a ?Newbie is struggling with. [code] import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.util.*; // program uses class Scanner /** * * */ public class Inventory { /** * … | |
I get the following error while trying to install netbeans 6.1 on my laptop : An unexpected exception happened in thread Thread -4 Exception: java.lang.ExceptionInInitializerError: null There is nothing wrong with the installer I think.I've installed with the same file on my desktop and there was no problem.Both machines are … | |
Hello everyone, please i need help, i have been trying to send and retrieve password and username to the database using RMI. please i need a code snipet that can help me to achieve that. i use MS Sqlserver 2000. | |
i need to develop an instant messaging using Jabber. Can anyone suggest me which jabber client api is the best for developing IM in java. Any samples on jabber client will be helpful. thanks & regards, | |
hi all my name is rida i'm from lebanon 21 years old i'm in CNAM university and studying informatic i have a project about java language and i didn't know any thing about this language since i have an accedent in the begining of the year and i didnt watch … | |
The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count … | |
is there a method in the mouse listeners or any other event handlers that utilizes the tilt wheel, either tilt or scroll, i can't find anything edit: found scrolling no tilt yet | |
I need a search engine project in Java is a very simplified ask the greats of this forum wonderful to find a solution to the problems of me and giving me this ID project... | |
What's wrong with my code? Can somebody help? Thanks! [CODE]import java.io.*; public class Array { public static void main (String[]args) throws IOException { BufferedReader myinput=new BufferedReader(new InputStreamReader(System.in)); int Arr1[]=new int[5]; int Arr2[]=new int[5]; int SumArr1=0; int SumArr2=0; int x=0; int y=0; for (x=0;x<Arr1.length;x++) { System.out.print("Enter Array1: "); Arr1[x]=Integer.parseInt(myinput.readLine()); SumArr1=Arr1[x]+SumArr1; } … | |
Here is my code import java.io.*; class Add { public static void main (String args[] ) throws IOException; { BufferedReader br=new BufferedReader( new InputStreamReader (System.in)); System.out.println("Enter the value of X:"); int x=Integer.parseInt(br.readLine()); System.out.println("Enter the Value of Y:"); int y=Integer.parseInt(br.readLine()); int z=x+y; System.out.println("\n\nValue of X + Y = " +z); } … | |
This is my assignment and write following code for this, its compile but not run. Please check and guide me to solve this problem. I used jdk1.4 for this. > Question: > You are required to develop a GUI based “Age Calculator” using applets > > > It should take … | |
i am getting strange results and cannot figure out why: Vel CONTROL (the vector 1,0), and Acc are Vec2D objects, which has X and Y values, and methods such as add, angle between, and other such vector util particle extends ellipse2d.double updateSuper() simply changes the values for it OLine extends … | |
ok, so i'm enrolled my first programming course and we finally have to create an actual program. what i'm trying to do in my program is to create a while loop that checks if a variable is not of string type. but like i said, i'm very new at this … | |
In the game of Craps, a "Pass Line" bet proceeds as follows. Using two six-sided dice, the first roll of the dice in a craps round is called the "Come Out Roll." The bet immediately wins when the come out roll is 7 or 11, and loses when the come … |
The End.