35,618 Topics

Member Avatar for
Member Avatar for oonebaddog

Hey guys!!! (and gals)... Uhhmmm... I'm in a bit of a tiffy... Im trying to populate a drop down list with data in my query browser. But I AM NOT USING JAVASCRIPT...mostly because i havent learned it...but im trying to a certain table from the query browser to my drop …

Member Avatar for oonebaddog
0
1K
Member Avatar for llawlh

Here is my assignment due tonight, it is to create two boxes and first default box will show after user presses '1', and the argument '2' leads to a second box which will ask for user input of height, width, and length, then calculate the area and volume for it. …

Member Avatar for NormR1
0
460
Member Avatar for cisumma

Hello. I have a Java Desktop App. I am trying to code to capture properties or db fields to send emails. Please find specs below. Please find the example word doc attached that I am trying to engineer. JavaMail quick start.doc I can not make heads or tails of how …

0
146
Member Avatar for abhijeet P

Hello all, I have a function in which onclick one window opens and there is logout option on the parent page. when I log out i want the child window to close as well. My native code is in Java and I need something in javascript. Plz help

Member Avatar for AleMonteiro
0
167
Member Avatar for Tuz

I have three classes Client,Product and Main.How can I call the client and the product from the main ?

Member Avatar for JamesCherrill
0
145
Member Avatar for AbdullahJava

Hi guys Please i need help ? Maxint: Write a program that gets two integers from the user and prints out the maximum value in a nice sentence beginning “The max is: “ [CODE] public class Maxint { public static void main (String [] args) { System.out.println("Enter two integers"); double …

Member Avatar for jackbauer24
-1
182
Member Avatar for 1bung100

I know there are 3 different ways to parse xml - using API - DOM - SAX But i found that in Digester related examples xml parsing is also performed. So I want to know whether Digester is also an xml parser or not? If not what is the main …

Member Avatar for DavidKroukamp
0
143
Member Avatar for TIM_M_91

Hi guys well I have created a JComboBox that lists all my values from a String. However I want instead of the values for the JComboBox to be in a String the values to be displayed in the JComboBox from my database so if more values are added to the …

Member Avatar for rushikesh jadha
0
144
Member Avatar for anand01

Hi all , I need to develop a tool which have the same feature of outlook. By using this too l we have to config our own email id and we can view send our e mails. Plan to do in java,what are things should I learn to complete this …

Member Avatar for anand01
0
105
Member Avatar for krejar

This is very ugly to look at, but I am having an issue with my array code. What I am trying to do here is add a name element to my Account accounts[]. When I initiate my driver and I pick the create account option, I am getting the output: …

Member Avatar for DavidKroukamp
0
131
Member Avatar for rushikesh jadha
Member Avatar for rushikesh jadha
0
184
Member Avatar for tungnk1993

Hi all, I'm having an "assignment" in which one criterion is : - Inserting data into an ordered sequential file without reading the entire file into RAM I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me. Just to …

Member Avatar for JamesCherrill
0
722
Member Avatar for uurcnyldrm

Hi folks, I'm new here and looking for a simple but educational&interesting idea for my CS project. It's my first year and we'll work in teams, so it should not be too difficult to handle, but also not so simple. I'm waiting for your suggestions.

Member Avatar for DavidKroukamp
0
709
Member Avatar for Xinen

for (x = 0; x <= 15; x++) { x += 5 - x; print(x + ", ") } x += 5 - x or x = x + 5 - x what is thy answer? :( 5, 5, 5, 5, 5, 5, 5 repeating :O?? -_- ummmm

Member Avatar for stultuske
0
101
Member Avatar for zina_a

hello, I need help please how can I call the command prompt in a java application,I want to make the prompt command as an option in my application,but i don't know how,can any one help me please and thanks

Member Avatar for DavidKroukamp
0
183
Member Avatar for compEstudent

Here is the assignment: 1. Objective This assignment will introduce you to CPU scheduling. 2. Specifications You are to simulate the execution of processes by a computer system with a large memory, one terminal per user, a CPU, and one disk drive. Each process will be described by it's class …

Member Avatar for JamesCherrill
0
473
Member Avatar for thejoker011

Hello guys.... i came through a website of "serialio".....[url]http://serialio.com/products/serialport/serialport.php[/url] all i want is the java api which i failed to find. Please help me i need "serialio" java api for serial communication..!!

Member Avatar for thejoker011
0
221
Member Avatar for 3nrichedd

Hello, I am trying to create this ascii art using nested for loops, [CODE] ***** ////////// ***** **** ////////\\ **** *** //////\\\\ *** ** ////\\\\\\ ** * //\\\\\\\\ * \\\\\\\\\\ [/CODE] I tried doing a paper check and this is what I have so far... [CODE] * / \ * …

Member Avatar for Zaad
0
139
Member Avatar for soft_coder

Hi! I am calling a Java Web Service from asp.net. I am invoking the service only once but it is getting invoked on Java Side multiple times. I have no idea why this is happening. Any kind of help will be appreciated.

Member Avatar for hericles
0
74
Member Avatar for sp85202

I'm completely stuck on how to organize the layout of this GUI assignment (see:attached picture) I've got the create panel part done, but I can't get anything to work properly for this panel. I've done the code up to the updatePanel method and it compiles but nothing displays. I've tried …

Member Avatar for hfx642
0
134
Member Avatar for aanders5

Okay so I am making a 2d array of JToggleButtons. I got the action listener up and going, but I have no way to tell which button is which. If I click one, all it returns is something like [quote]javax.swing.JToggleButton[,59,58,19x14,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@53343ed0,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=] [/quote] Is there anyway to stick some sort of item …

Member Avatar for aanders5
0
190
Member Avatar for Vanquish39

Hi guys, I have a question about custom error codes and redirection. The application throws different errors for different situations. Example: Bad credentials = resp.sendError(3005, "Bad Credentials") Example: Not Authorized = resp.sendError(3007, "Not Authorized"); When these errors get thrown, I get to the default error page with the HTTP Status …

0
51
Member Avatar for emclondon

Hello Guys, I'm trying to use a Thread Pool Executor in my application and I'm kinda stuck somewhere. My aim is to create a pool of fixed number of threads (say 10) waiting in the pool to be called for action (say to print hello); I'm still bad at java, …

Member Avatar for JamesCherrill
0
278
Member Avatar for Sanna.1

[CODE] import java.util.Random; import java.util.Scanner; class indexerad_variable { public static void main(String[] args) { Random generator = new Random(); Scanner scan = new Scanner(System.in); int Tries=0; int number = generator.nextInt(100) + 1; String igen; while(true) { System.out.print("\nNumber 1 - 100: "); Tries++; int guess = scan.nextInt(); if(guess < number) { …

Member Avatar for SasseMan
0
110
Member Avatar for syekimubeen

hi want to know how read date from a file and take the data into a 2D array and again convert it in 1D array and covert the data format like 15-02-2012 or 15 02 2012 or 15s02s2012 into 15/02/2012 format and write it to other file

Member Avatar for JamesCherrill
0
235
Member Avatar for baig772

hi all i am new to java i want to run java php bridge as described [URL="http://php-java-bridge.sourceforge.net/doc/tomcat6.php"]here[/URL] now i am getting the following error [CODE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could …

Member Avatar for NormR1
0
711
Member Avatar for furqanishaq

hiya i am looking if someone can help me create this in java there is an attachments alongside this

Member Avatar for stultuske
0
167
Member Avatar for srikarreddyd

Can anyone help me out in giving connection between two different applets.I have done two separate applets in NetBeans.I need to display second applet once i click on the "next" button in 1st applet.

Member Avatar for NormR1
0
28
Member Avatar for 03hasnam

Hey Everyone, i cannot print the value of Username in the JSP. i am using a java bean, but i am instiating the bean object twice in two servlet, one for form data and one for username. the bean contains the respective setUsername and getUsername, but this is not printing …

0
63
Member Avatar for ravsau

Hi guys, I am doing a Java project. For now it's just a program but this program is to be used through the semester. I have hard time thinking what class to work. We need to create a class of anything like cheese, cars, rectangle etc that we will be …

Member Avatar for StephNicolaou
-2
259

The End.