32,204 Topics

Member Avatar for
Member Avatar for W@n

Hi, i am facing a problem on my java assignment recently which require me to read customer records from a text file and pass it into array. After that i need to change the first letter of the name to uppercase and sort it according to the name. However i …

Member Avatar for mabz
0
177
Member Avatar for cool_yu2k

Hello! I have another problem in my binary tree. The countLeaves method does not output the correct answer. Instead of outputting 3, it output 1. I don't know what's the problem on the algorithm of my countLeaves method but I guess it is correct. Can anybody help me solve this …

Member Avatar for harsh2327
0
114
Member Avatar for auhuman

Hi, i searched a lot in JAVA documentation, but couldn't find a buffer API 1) can grow dynamically. 2) the existing content must shift right if i insert a new element in the existing content index

Member Avatar for auhuman
0
83
Member Avatar for knowledgelover

hi there, I am trying to learn how to generate xml document having the XSD file that describes the schema of the xml, and need to insert specific values for some of the elements, too. then I need to parse other xml files, I have googled about it, and many …

Member Avatar for varunnanda
0
134
Member Avatar for spalax

Hi everyone, i'm a beginner in java. i would like to know if somebody couls explain me about the pricing. i don't have more details, it is used for airplane ticket reservation. Or any java project, i would like to test my capacity before searching for job. Thank you very …

Member Avatar for peter_budo
0
83
Member Avatar for Whilliam

Hello. Im new to Java. I don't know much about Java's codes but I have a good background in C. Im using NetBeans 6.7. I have this code: [code=java] package javaapplication1; public class Main { public int x = 3; public int test(){ x += 4; return x; } public …

Member Avatar for kvprajapati
0
127
Member Avatar for keziaebitner

i need a code for this java program...urgent please... using dialog boxes : input month in "99" form date in "99" form year = 2009 then display the date in 'MMM 99, 2009' form otherwise, display 'invalid date' Valid date 01-12 = Values for month 01-28 = for month - …

Member Avatar for masijade
0
79
Member Avatar for Adrian_0211

im working on my thesis right now... i need to create a map locator.. just like this one [url]http://www.map.wisc.edu/[/url] any idea how to do this? thanks for the help..

Member Avatar for narkarvinayak
0
89
Member Avatar for rockbluster

Form wouldn't submit and keep popping out. "Not all fields are valid". [CODE]<script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.ValidationTextBox"); dojo.require ("dijit.form.Form"); dojo.require("dijit.form.CheckBox"); dojo.require ("dijit.form.FilteringSelect"); dojo.require ("dijit.form.TextBox"); var valid = true; function checkPw(formFields) { //alert (formFields.uPass); //alert (formFields.uPass2); if (formFields.uPass !== formFields.uPass2) { alert("Confirmation password is different."); valid = false; } return valid; } …

Member Avatar for rockbluster
0
73
Member Avatar for cool_yu2k

Hello! We have an assignment regarding binary tree and I am having a hard time debugging it. The countNode and countLeaves method do not work. It does not display output and instead remain blank. Please help me and check if what is really wrong. Thanks in advance. It will be …

Member Avatar for kvprajapati
0
309
Member Avatar for Lensva

its supposed to zip folder content recursively, which it does until it encounters a folder with both an empty folder and a non-empty. or so i think. i used the following structure to zip: [URL="http://img291.imageshack.us/img291/6120/84976017.jpg"]http://img291.imageshack.us/img291/6120/84976017.jpg[/URL] if untitled folder is removed it works. any tips would be much appreciated. [code=java] import …

Member Avatar for kvprajapati
0
108
Member Avatar for mzprog

Hi all, I has to develop a utility GUI using java, as it is very tedious doing programmitically. Anyone knows of a good free tool or plug-in for eclips for building java-based GUI, which can be editable programmatically. i know of Netbeans Desktop application but it generates horrible code. plz …

Member Avatar for StuartMillner
0
183
Member Avatar for mzprog

Hi all, I has to develop a utility GUI using java. as it is very tedious to do it programatically. can some one help me by telling the some GUI tool for java, where source code can be edited easily. thank u in advance.

Member Avatar for mzprog
0
54
Member Avatar for mimsc

I have a jsp...I need to read in the generated html fron the jsp to a string buffer I can use in a mail method how do u do that? test.jsp

Member Avatar for ~s.o.s~
0
126
Member Avatar for ndoe

hallo all! how to make a multiple choice quiz with radio button for swing application!my problem in radio button! i have 5 question in my quiz and for each question have 4 answer!how to make user just can choice 1 in each question!i have to try but i just can …

Member Avatar for peter_budo
0
81
Member Avatar for get2tk

please how do i create a login page using gui in java?And also how do i make the login page move to the next java page when the password is correct?

Member Avatar for peter_budo
0
91
Member Avatar for loozax

how to get the correct difference and product of dis?! [code] import java.io.*; public class exer05{ public static void main(String args[])throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = 0; int number = 0; int diff = 0,pro = 0,sum=0; System.out.print("Enter number of times:"); number = Integer.parseInt(br.readLine()); for(int …

Member Avatar for tux4life
0
93
Member Avatar for shankmuchlove

I m trying to integrate java in php. I use xampp 1.6.8, with php version 5.2.6. I m trying to call java classes and methods from php. I had set php.ini as extension=php_java.dll [java] java.class.path="\xampp\php\extensions\php_java.jar" java.library="\xampp\jdk1.5.0_10\jre\bin\jvm.dll" java.library.path="\xampp\php\extensions\php_java.dll" java.home="\xampp\jdk1.5.0_10" I get the error as Fatal error: java() [<a href='function.java'>function.java</a>]: Unable to …

0
62
Member Avatar for Dragonfyre

Hey everybody. I have a question on how to break out of a java loop. Here is a break down of what I am doing. I have 3 arrays "chrs" and "value" and "NumTimes"; "chrs" is an array of characters that has been read in from an input file. Value …

Member Avatar for Dragonfyre
0
126
Member Avatar for Clawsy

Hello, I'm a little bit new to Java and I use NetBeans 6.5.1. I just try to make a window 'by code, manual' (not drag and drop, not visually). This is my code (first I only want and empty window): [code] package javaapplication5; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import …

Member Avatar for axeeffect2002
0
145
Member Avatar for smoore

Okay so I am in a Data Structures class and am working on Binary Trees now so I figured I do a little project on the side to experiment. So I have a frame pop up when the program starts and it has a bunch of information to enter in. …

Member Avatar for JamesCherrill
0
119
Member Avatar for Ruw

can you please draw me a use case diagram for construction. it includes: Employee Department Project Works_on

Member Avatar for masijade
0
90
Member Avatar for gitech

Hai Friends I want to invoke .net ?(.asmx) webservice in J2ME Application, iam using following code , but its giving Runtime Exception [B]"SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not recognize the value of HTTP Header SOAPAction: urn:Welcome#GetdrawTimes.' faultactor: 'null' detail: [EndTag </detail>] "[/B] [CODE] import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import …

Member Avatar for peter_budo
0
263
Member Avatar for Dragonfyre

I think that I understand the concept fairly well, but I appear to be having some issues with syntax perhaps. I have 2 classes. My main class and BubbleSort.java. In my main class I receive values from the user and store them in "int array[]". The values appear to have …

Member Avatar for Dragonfyre
0
112
Member Avatar for Stefano Mtangoo

Is it good Idea for Newbie in Java like me(Python guy) to begine with 3rd Edition of thinking in Java by Bruce Eckel? The reason is, it is free downloadable. If no any suggestion?

Member Avatar for Stefano Mtangoo
0
102
Member Avatar for kinger29

How do you print a SOAP response? I have been trying to do the following but its not printing the actual soap message. Its just giving me some sort of description. [ICODE] SOAPMessage reply = connection.call(message, destination); String myreply = reply.getSOAPPart().getContent().toString(); [/ICODE]

Member Avatar for ~s.o.s~
0
321
Member Avatar for karamjeet2004

Hi I am making some kind of search engine in java.In which i want to search initials from database(ms access) suppose to search united states of america we type usoa so how can i do that from where to i start can anybody plz.........

Member Avatar for tux4life
0
175
Member Avatar for smoore

Okay so I have a screen with a toolbar on the top (BorderLayout.NORTH) with about 5 buttons. What I want to do is be able to switch back and forth between JPanels with each button click. so each time I click one of the buttons a new JPanel appears in …

Member Avatar for masijade
0
144
Member Avatar for smoore

Okay so i am having a little trouble with my JFormattedTextField. I figured out how to work the MaskFormatter somewhat but not great. the formatting is fine, like when I want to restrict a field to only 15 characters that works but when I move the cursor to another field …

Member Avatar for smoore
0
105
Member Avatar for rizillion

I have created a database using MS SQL named "Company" and there is a table named "Employee". I need to print the records from the "Employee" table to a JTextArea keeping tabs for each columns in the JTextArea. How can i do it? Please help.

Member Avatar for peter_budo
0
170

The End.