35,618 Topics
![]() | |
I want to put the buttons on my screen wherever i want, i'm not using design view. Is there any layout method or any other method i can use to reposition my buttons.PLEASE HELP! | |
Hello all. I have this problem. I have a div with inactive buttons in a jsp page, buttons like select all | add to basket | compare | .... and some java logic determining whether any products (coming from a backend) are found on page load. I want to make … | |
actually,,this is not my whole code..i just post the important one,,i am having problem with my code....i dont know how to figure out,,, everytime i am trying to withdraw and deposit..,,the balance will always be zero,, and i dont know how to figure it out.... [code] import javax.swing.*; public class … | |
I have an application in which I want to find out that how many users checked the link or a page in the last 15 mins and then I want to compare the number with the next 15 mins. Can you give me some hints? | |
"Write a program to display a linked list graphically. Draw each element of the list as a box, and indicate the links with line segments. Draw an iterator as in Figure 15-3. Supply buttons to move the iterator and to add and remove elements." The elements of the node appear … | |
Need guidance in implementing mutually colliding group in java. I have a table COLLISION which will have info which all experiemnts collide . Each record will have the DB entries as <Collision ID, exp 1, exp 2>. there won't be another entry like <Collision ID, exp 2, exp 1> for … | |
can some one help me write a program, that works when passing 3 values (r g b value), to a Color class and outputs its corresponding colour.. please help me by giving a sample code and the output ... | |
Hello I was reading this article [url]http://www.developer.com/java/data/article.php/3303561[/url], but im having some problems. I did exactly the same commands and such as they did in this article, but I dont get 'Security window' where it asks the client to trust the applet, or not. I tested the applet on apache, and … | |
hi! im new here, just a newbie programmer, asking a newbie question.. ^_^ out.println("<td>" + "<input type=\"submit\" id=\"" + patientNum2.get(counterQueue) + "\" value=\"" + patientNum2.get(counterQueue) + "\" name=\"btnShowCaseList\" />" + "</td>"); how could i get the value of "id" from the jsp page to the servlet?, the only thing i … | |
Hi, I'v been trying to write a simple Java EE app, which deals with car renting. The entity beans and session beans are ready, so I've created a JSP for representation. It contains a single method, for init: [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … | |
hi.. anyone here knows some links on netbeans mobility tutorials... kindly post pls.... | |
there is no import javax.mail.*; in my java and net beans so how can i get those packages or what i have to do for importing that | |
hi, we have a simple program here that states like this: [CODE] input >= 10 ex: 12 1 Square Sqrt Cube Fouthroot 2 - - - - 3 - - - - 4 5 6 7 8 9 10 11 12 [/CODE] i made the code already but I still … | |
Hello all daniweb members.I want to develop a program.It will about anycast ftp.There are many ftp mirror on the web which you have to download same file from them.For example server A,B,C are mirrors and i want to download a file from them.And i wanna learn which one is fastest.First … | |
Hi. I am attempting to update a Jtable with details of all the files on my computer. I am running Windows XP home edition version 2002 with service pack 3. Intel(R) pentium(R) 4 CPU 3.20 GHz [ICODE] for (int i = 0; i<r.size(); i++) { Vector v = new Vector(); … | |
[B][/B]HI Folks, Suppose say Class ("DaniWeb") Contains 3 Objects 1.SunSystems 2.Microsoft 3.Yahoo [B]Now user has entered an Object name suppose say (Yahoo) .. and we need to confirm if the User Specified object exists in that class are not , if not we have to create an object with the … | |
guyzzz,,,help,,i dont know how to call a variable from other class,,could you help me,,huhuhuh,,,i really need your help... i have a class,, this is just a summary... public class BankAccount{ int accountNumber[] = {1234, 2345}; public class ATM{ BankAccount bank = BankAccount(); String accountNum; int accountNum2; accountNum = JOptionPane.showInputDialog("Please enter … | |
Hi, How can i pass an array from jsp to javascript function.i have to design a grid in jsp.For that i'm using javascript functions. [URL]http://www.code-magazine.com/article.aspx?quickid=0303111&page=3[/URL] this is the link where i got the script.here i have to pass an array of values to display in that grid.can any one pls … | |
i want to pass an integer value as an input, for that first i have to get the value as an string and then convert it into an Integer. i wrote the code and it looked like this .. [code] String age=""; int intage=0; System.out.print("Please Enter your age : "); … | |
Need help with a java project I need to do. Here is the project specifications : """Create a console calculator applicaion that: * Takes one command line argument: your name and surname. When the program starts, display the date and time with a welcome message for the user. * Display … | |
Hi to all, im MJ a 4th year Computer Science student... well im new at using netbeans... can someone please help me to have a tutorial about the codes on Mobile Applications... cause im planning to make an applet that will server as a quick refresher about a certain subject … | |
I'm working on a project for school where we have to read from a voters database which is set up in the following manner: voternumber:voternama:havevoted Ex: 1253:Bill Simmons:false 3244:Steve Jobs:true I made this algorithm to search for a voter by ID number but for some reason it keeps coming up … | |
is there any project/work done for java web proxy ? i am looking for java snippets , ideas to write a proxy server note i am talking about web proxy servers (not for sun proxy server or any thing like that ) ( ex in php there are some scripts … | |
hello everyone, I am working on an assignment for my cs class. It is basically a board game with 20 levels. i have a question about why this code in my program is not working...hopefully what I am posting makes any sense because what I am writing is already long...and … | |
Problem: I need to read in each line of an input file into an aray of strings.The program should quick sort the array and output the sorted list to a file: I came out with the below code, buts its giving me two error and i need to update it … | |
I have a program that asks for a knights coordinates and prints out all possible moves. That works. What doesn't work is if it is not a legal place for the knight (i.e. off the board) it prints an error but also prints coordinates for -1,-2. not sure why. Any … | |
i have a 2d array. i know the position. how can i print it out. i just need to print out 1 single element not the entire array. | |
I am new at java. I am making an address book program. Below is a code of the Search class. Could anyone please look into it? The program is giving a problem while runtime. [code] import java.io.*; import java.util.*; class search { private String str,sval; private String arr[]=new String[8]; char … | |
ok, I have created a mobile application for a java enabled phone. I want to make the classic pong game with one paddle, and a number of blocks to break. I have managed to get the ball bouncing around the screen and off the block using a set of if … | |
I have a 2d char array and i need to find the position of a specific char in the array. what method can i use. return Arrays.binarySearch(this.matrixCopy, "S"); does not work it keeps returning -1 when there is an S in the array. |
The End.