35,618 Topics
![]() | |
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: | |
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 = … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
String serverName = ? String portNumber = ? String sid = ? Plz answer my above queries , while conecting with oracle 9i and Java.... its urgent !!! | |
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] … | |
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 … |
The End.