32,204 Topics

Member Avatar for
Member Avatar for esy928

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 …

Member Avatar for javaAddict
0
117
Member Avatar for kselvakumar_82

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 …

Member Avatar for kselvakumar_82
0
132
Member Avatar for diasmvds

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

Member Avatar for sanaulla123
0
2K
Member Avatar for Aamit

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 …

Member Avatar for javaAddict
0
67
Member Avatar for ameettopare

how can we play mp3 in jsp page using struts framework? is dere any other way?

Member Avatar for masijade
0
67
Member Avatar for Ringed

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 …

Member Avatar for masijade
0
118
Member Avatar for eranga262154

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. :)

Member Avatar for eranga262154
0
123
Member Avatar for guerreronoli

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!...

0
64
Member Avatar for prashanthn

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..

Member Avatar for sanaulla123
0
71
Member Avatar for allena
Member Avatar for guerreronoli

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 …

Member Avatar for Ezzaral
0
124
Member Avatar for ronojinx

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] …

0
60
Member Avatar for rainny

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 …

Member Avatar for Ezzaral
0
84
Member Avatar for Venks

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"); …

Member Avatar for stephen84s
0
458
Member Avatar for Venks

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) …

Member Avatar for Venks
0
219
Member Avatar for HeroOfTime

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 …

Member Avatar for HeroOfTime
0
128
Member Avatar for beamkirk

// 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 { /** * …

Member Avatar for Ezzaral
0
107
Member Avatar for gateclaw

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 …

Member Avatar for Ezzaral
0
83
Member Avatar for tactfulsaint

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.

Member Avatar for tactfulsaint
0
81
Member Avatar for geeths

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,

Member Avatar for amjad277
0
75
Member Avatar for rriiddaa

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 …

Member Avatar for javaAddict
0
155
Member Avatar for LevelSix

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 …

Member Avatar for LevelSix
0
478
Member Avatar for sciwizeh

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

Member Avatar for sciwizeh
0
97
Member Avatar for lord 1001

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...

Member Avatar for Ezzaral
-1
36
Member Avatar for TofiLuk

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; } …

Member Avatar for ~s.o.s~
0
141
Member Avatar for lich

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); } …

Member Avatar for satyapp
0
93
Member Avatar for iqbal

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 …

Member Avatar for Acidburn
0
144
Member Avatar for sciwizeh

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 …

Member Avatar for sciwizeh
0
127
Member Avatar for prof_satch

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 …

Member Avatar for prof_satch
0
155
Member Avatar for pat8

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 …

Member Avatar for Ezzaral
0
950

The End.