32,199 Topics
| |
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 … | |
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 - … | |
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.. | |
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; } … | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
can you please draw me a use case diagram for construction. it includes: Employee Department Project Works_on | |
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 … | |
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 … | |
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? | |
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] | |
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......... | |
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 … | |
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 … | |
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. | |
Hi Friends I am new to Java Swings. I am trying to add JTable. But the table is not displaying. I have the following java code (2 files) **************************************************************************************** package edu.ucsc.genome.qa.sigGateWay; import java.io.*; import java.util.*; import java.awt.Color; import java.awt.Container; import java.awt.BorderLayout; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.BorderFactory; import javax.swing.JButton; import … | |
Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is … | |
hi all, this is my first time using JAVA. i know other programming languages, such as, c++, PHP, Assembly. this is a basic personal schedular. for saving the data i am using a custom designed linked list, and for the gui i am using custom gui. the program runs fine … | |
i am trying to draw an arrowhead at the mid point of a line. say the point is (x,y). can anyone tell me how to do this. the line could be curved. it should also point toward either of the end points | |
can some1 help me wid diz?! [code]import java.io.*; public class looping1{ public static void main(String args[])throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader (System.in)); int value = 1; for (int i = 1; i<=11;i++ ){ System.out.println(value); value = i + value;} }} [/code] the output should be: 1 2 4 … |
The End.