32,204 Topics
| |
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 … | |
Hello everyone i m having three swings textboxes mm.dd.yyyy i want a simple code for validating date & leap years plz help me | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
:-|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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
my java applet failed on yahoo.. can someone tell me what to do so as i can start downloading games again :cheesy: | |
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 … | |
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 = … | |
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; … | |
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 … | |
why we named java as Java 2? please tell me | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … |
The End.