36,051 Topics

Member Avatar for
Member Avatar for ankit_the_hawk

I am going to start off with Java, already knowing C/C++ So i needed to know which compiler should i download for the purpose of programming on Java ( for the Windows platform). (which consists of the editor, compiler,etc.) I need something i can download from the internet like Dev …

Member Avatar for aniseed
0
156
Member Avatar for aniseed

I am probably not the first person to ask this but it feels rather incorrect to me. [code]You're browsing the JSP forum Discussion about: A web development language based on Java.[/code] This line on top of the JSP forum is so very inaccurate. JSP is not a web development language …

0
93
Member Avatar for Katrin

:!::!::!::!: I have an Assignment and Iam very new In [COLOR=DarkRed][U][B]JAVA LANGAUGE [/B][/U][/COLOR] , Anyways I need some help if someone can help me i will be very thankful, really i need it !!! :?: I need a code in Java , that maked a [U][B]SMall[/B][/U] program , that let …

Member Avatar for jwenting
0
106
Member Avatar for vergopi

Hi, I have a very difficult problem.Perhaps a good Java programmer can solve it. I want to open a Java chart (it can found on [url]www.wdsoftware.com[/url]) not from a computer but from a PDA.I have a Fujitsu-Siemens Loox 720 (520Mhz CPU,128 RAM,64 ROM).I use Netfront 3.3 with JV-Lite2 as web …

Member Avatar for jwenting
0
108
Member Avatar for skol10

I have already turned this so my grade will off anyway but I just need to know. I cannot get the right figure for this calculation, here is what I have and it gives me the wrong calculation of 7178. when its supossed to be 1167. Any help would greatly …

Member Avatar for skol10
0
206
Member Avatar for Covinus

--------------------Configuration: <Default>-------------------- C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ 2 errors how come i cant cast a char on a set??? it works well with …

Member Avatar for jwenting
0
205
Member Avatar for parthiban

Hi all, I have download Apache POI(2.5.1) to convert a Excel file to XML using NetBeans5.0 . After Unzipping i got three Executable JAR files 1.poi-2.5.1-final 2.poi-contrib-2.5.1 3.poi-scratch-2.5.1 Please tell what steps i have to do to install it (or) just it's enough to just point out that JAR files …

Member Avatar for parthiban
0
509
Member Avatar for jdk1.5

Hello everyone i m having three swings textboxes mm.dd.yyyy i want a simple code for validating date & leap years plz help me

Member Avatar for peter_budo
0
60
Member Avatar for rpjanaka

hi all, i want to know about simple java concept, public class Operator{ //this is a bean class and there is a method to insert object of this class, into the database. public int saveObject(Operator _operator){ //here are codes for insert the given object in the database. }//end of the …

Member Avatar for aniseed
0
110
Member Avatar for jaden403

I am trying to write a recursive function that will produce a fractal snowflake, but am not getting the correct results. For some reason it gets caught in an infinte loop, but I cannot figure out why. Any help is appreciated. [code] [COLOR=#941edf]private[/COLOR] [COLOR=#941edf]void[/COLOR] recursiveDraw([COLOR=#941edf]double[/COLOR] x1, [COLOR=#941edf]double[/COLOR] y1, [COLOR=#941edf]double[/COLOR] x2, …

Member Avatar for jaden403
0
101
Member Avatar for parthiban

Hi all, I download JOnAS 4.8.4-tomcat5.5.17, APACHE Ant 1.7.0 and installed by setting JONAS_ROOT and ANT_HOME. When i check the environment using "jonas check" I'm getting following message [B]" The system cannot find the path specified. The system cannot find the path specified. JONAS_BASE is set to '-Dinstall.root' is not …

Member Avatar for parthiban
0
85
Member Avatar for jeet_portal

Hi Pls tel me how i can host my own web site in my own server. I am using jsp, html as my front end and Mysql as my backend and Tomcat as my web server

Member Avatar for jwenting
0
173
Member Avatar for Sp!ke

I'm learning Java right now, and one of the projects I've been working on as practice lately is just a simple text editor (using Swing). The one thing, though, that I can't for the life of me figure out, is how to add scroll bars to the text box if …

Member Avatar for iamthwee
0
275
Member Avatar for mgland

I have a project that I am working on for 5 days, and I am stuck. I have been able to generate some numbers, but no based on the instructions below. Can you please provide some assistance on what I missing and what I need to do to get this …

Member Avatar for aniseed
0
168
Member Avatar for madrasparty

hello currently i have joined in a software company in bangalore. i have knowledge in jsp and servlet. in my company core java is needed. i dn have tat much knowledge in java . kindly help me to get source code from online. wat r the websites available. how to …

Member Avatar for masijade
0
111
Member Avatar for jmsnclr

:-|Hi all, I'm new to programming and I've been learning on my own. I seem to be writing way too much code for simple exercises. I just finished one where all they wanted was to convert your change into a total dollar amount. I went ahead and created a method …

Member Avatar for jwenting
0
83
Member Avatar for abs

Hi I just want to get datas of three months of specifying year. I want to give input from two check boxes , one for month and the other for year. Now i want to retrieve datas from database which is in there already. Can u help me out........???:sad:

Member Avatar for peter_budo
0
85
Member Avatar for ronakp25

I am running my application over websphere. Application consists of fronthand and backhand.But when I make changes in backhand i need to restart my server which takes too much time .My whole backhand is in .jar file and fronthand is in .ear package. This is automatically created during build process …

Member Avatar for jwenting
0
146
Member Avatar for bartek20

Hi, i just started taking java in uni and im a little stumped, our assignment is to do this. Complete the body of the following method, as indicated by the comment: class Q2 { /** Sort the 'partially sorted' array 'p' into nondecreasing order. Requires: 0 <= i <= p.length …

Member Avatar for jwenting
0
79
Member Avatar for ryy705

Hi, I want to learn how to build web services with java. I am starting out by installing all the neccessary software. I am following directions from a book. However, tomcat is installed twice in the book's example. The first set of direction is labeled Servlet container and tomcat is …

Member Avatar for jwenting
0
126
Member Avatar for cassyjack

I'm really need help with this one. Im totally lost. I have to crete a class that models a Library. It lets the user add, print, borrow and return books to the Library. I guess my problem is that I really do not understand arrays. I needs to create a …

Member Avatar for Infarction
0
115
Member Avatar for cassyjack

I have to rotate numbers an array. Example:`{5, 6, 7, 8} ==> {6, 7, 8, 5}{5, 6, 7, 8, 9, 10} ==> {6, 7, 8, 9, 10, 5}` This is what I have. It works for the most part to rotate the numbersbut I can't seem to rotate the first …

Member Avatar for cassyjack
0
147
Member Avatar for ronakp25

I am using 2 .ear files. One file contains the EJBs and the other .ear file contains the application that calls the EJBs in the other .ear file. now the problem is that when i deploy the 2 .ear files on different machines and run the application it works fine …

Member Avatar for jwenting
0
113
Member Avatar for cronous

Hello again, I've been trying this coding for weeks now and have no idea where the bug is.... Could someone help me? :mrgreen: import javax.swing.joptionpane; public class homework7{ public static void main(string args[]){ //prompt user to insert a value of signal array String getsizearraystring = Joptionpane.showinputdialog(null, "enter a value for …

Member Avatar for cronous
0
91
Member Avatar for greywolf

Hi, I would like to create a simple chat program. Could you advice me which Java technology should I best look at. I did a tutorial from sun.com about Socket programming. Do I use this for such a simple chat program and if yes, how do I connect two clients. …

Member Avatar for jwenting
0
97
Member Avatar for makingit52000

my java applet failed on yahoo.. can someone tell me what to do so as i can start downloading games again :cheesy:

Member Avatar for aniseed
0
67
Member Avatar for *Alice*

Hey guys, For one of my assignments, i got this little exercise: "[COLOR=#000000]Add at the class Rectangle a method move(Point p) which[/COLOR] [COLOR=#000000]moves the rectangle in the point indicated by the parameter, a method[/COLOR] [COLOR=#000000]translate(int x, int y) which translates the rectangle to the right[/COLOR] [COLOR=#000000]along the 0x coordinate axis …

Member Avatar for thekillerkat
0
77
Member Avatar for cronous

Someone Please help me, I've no idea y it doesn't work?? :confused: import javax.swing.JOptionPane; //Program uses JOptionPane public class Homework5 { //Main method to begin Java application public static void main (String args[]) { int NumberWord1 = 0; int NumberWord2 = 0; //User Enter's the 1st word String Word1 = …

Member Avatar for cronous
0
124
Member Avatar for sandeep0708

Hi all,, the problem is that i have a link in jsp on which i have to open a new jsp page and at that time i want the parent window to be closed ...without any alert to be displayed... plzz help

Member Avatar for aniseed
0
138
Member Avatar for Prashmon

import java.io.*; import java.awt.Frame; import java.awt.FlowLayout; import java.awt.Color; import java.awt.Insets; import java.awt.Dimension; import java.awt.event.WindowListener; import java.awt.event.WindowEvent; import java.util.Enumeration; import javax.comm.CommPort; import javax.comm.CommPortIdentifier; import javax.comm.SerialPort; import javax.comm.NoSuchPortException; import javax.comm.PortInUseException; public class BlackBox extends Frame implements WindowListener { static int portNum = 0, panelNum = 0, rcvDelay = 0; static SerialPortDisplay[] portDisp; …

Member Avatar for aniseed
0
164
Member Avatar for cassyjack

Does anyone know why I am getting an NullPointerException:Null error for this method? [CODE] public int[] checkISBN() { String letter; int[] isbnCheck = new int[9]; for (int i = 0; i < 9; i++) { letter = isbn.substring(i,i+1); isbnCheck[i] = Integer.parseInt(letter); } return isbnCheck; [/CODE] This is the specs for …

Member Avatar for jwenting
0
116
Member Avatar for khoomy
Member Avatar for mattyd

Hello: I am new to Java and I am working on a tutorial to familiarize myself with this language. The tutorial is a walk-through in building a basic text editor. So far the build is going fine, but I have come to a point where I am unsure how to …

Member Avatar for mattyd
0
265
Member Avatar for cassyjack

I need to create a printing method. Once I call the method it will print the following code. [CODE]static Book1 a = new Book1("Miasha", "Secret Society", "Borrowed", 743281586); static Book1 b = new Book1("Omar Tyree", "What They Want", "On Shelf", 743228695); static Book1 c = new Book1("Eric Jerome Dickey", "The …

Member Avatar for cassyjack
0
147
Member Avatar for sandip.bhoi

Dear all, i am having a JTable, in which a column of each row is having a checkbox field. If the checkbox is checked then and then i should be able to modify the cells in that row, ...where the checkbox is. I have created the table with AbstractTableModel of …

Member Avatar for sandip.bhoi
0
163
Member Avatar for skramath

Please Help me to access serial port using java. I downloaded javax.comm.*.But still not working.I am using windows Xp as Os.Please Advice me to get The serial port...Also what set up i had to do before coding.... Thanks in Advancee

Member Avatar for aniseed
0
37
Member Avatar for ScatmanTom

Hello there! I'm new here, like to say hello to you all. I'll probably be needing help on plenty more themes soon as I'm looking to continue this subject alone when the Semester finishes. I'm studying Java and just can't get my head around Multithreading. Wonder if anyone could help …

0
55
Member Avatar for cassyjack

Hi I need some help.... Here is what Im trying to do....I havent worked with java in about 4 years. I have created a JOptionpane showInputDialog with a list of options to choose from inside a method. What I want to do next is once one of those options is …

Member Avatar for cassyjack
0
135
Member Avatar for totengtoh

guys, i am making a program in java. i have to use a sorting agoritm. i manage to get some from the internet but it seems that they are too technical and hard to understand and i dont know where to put them and how to use them. here is …

Member Avatar for totengtoh
0
130
Member Avatar for sarahlorrain

I'm having problems again. My internet will just stop all of a sudden and it will just stop working when I'm in the middle of something and I have to close out all of my browser windows then open my internet back up. Here is my hijackthis logfile. If you …

Member Avatar for gerbil
0
150
Member Avatar for stevetook

Hello, I have three classes: Circle, Canvas and GameBoard. When I try to compile this I get the error `'cannot resolve symbol - constructor Circle(int,int,java.lang.string)'` I noticed if I delete the parameters of the Circle it will compile. Please could anyone tell me why it doesnt understand the parameters? Do …

Member Avatar for peter_budo
0
203
Member Avatar for yatishkarkera

hi everybody i am wrking on my final projrct n am facin problem in dynamic generation of any component on a click of a button.I mean in a frame there is a textbox n a button.Now if the user wants to add another textbox he clicks add button and a …

Member Avatar for jwenting
0
32
Member Avatar for BobbyBB

Im REALLY new to Java Programming and wanted to teach myself java. I download the newest version of the JDK from the website and have run into the javac problem. I keep getting the error that javac is not found or its not a operable program. (Something like that.) I've …

Member Avatar for BobbyBB
0
113
Member Avatar for fastmike

my program will ask the user his last name and his first name. after that it will do a search to see if the last name and firstname matches with the list. if it does then it prints out the phone number if not then it will say name not …

Member Avatar for fastmike
0
632
Member Avatar for mahul000

String serverName = ? String portNumber = ? String sid = ? Plz answer my above queries , while conecting with oracle 9i and Java.... its urgent !!!

Member Avatar for jwenting
0
151
Member Avatar for gracin

I am trying to link a class from the book “Core Java” that has worked for years. The class is called “Format”. When I try to compile, I get the error message: cannot resolve symbol symbol: method atof (java.lang.String) location: class Format The code that generates this error is: fYrDefol[j][iDay] …

Member Avatar for gracin
0
112
Member Avatar for Dawnb

I understand that JAVA has upgraded or changed their modus of operation and one of my applications - HP C3500 Scanjet can no longer be accessed. It gives the following message:- Unable to start the application. The Java Virtual Machine cannot be loaded - Class not registered. I have deleleted …

Member Avatar for Bench
0
82
Member Avatar for karmelody

Hello Everyone, Ild just like to take this oppertunity to introduce myself, Hi, im Kar'Melody! Hows it goin? and anyone has a code for a java vending machine I would really appreciate looking at it. Ive allready been working on it all day but I keep getting an annoying error …

Member Avatar for peter_budo
0
93
Member Avatar for shobha

Hi friends, i want to know good books that are present to learn J2EE(java). can u please suggest me.

Member Avatar for jwenting
0
144
Member Avatar for eeswari

Hi, can any one please help me . how to do web services using REST. please give an detail example. i am using JAVA technology. my id is <email snipped>. THanks in advance.

Member Avatar for masijade
0
36

The End.