32,199 Topics
| |
[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.Scanner; public class ExpressionCalculatorPanel extends JPanel { // Variables to be used private JLabel inputLabel, resultLabel; private JTextField ExpressionCalculator; private JButton computeButton; //----------------------------------------------------------------- // Constructor: Sets up the main GUI components. //----------------------------------------------------------------- public ExpressionCalculatorPanel() { inputLabel = new JLabel ("Enter a value of … | |
| Dear All, I'm starting a new project on the convertion of client code to ean13 code. Could you please help me to find some documentations on java langage programming on this conversion. Best Regards Dilbert137 |
i am facing a problem with rmid while installing jini in linux. while activating rmid i have used the command rmid -d -jsun.rmi.activation=none then i am getting an exception such that the rmid port is alredy in use. can ny one help me out | |
Make a java application called Statistics.java that implements the measures of central tendency and variation in descriptive statistics. Your program should make a use of one-dimensional array called rawScores with size 30. The rawScores array must be declared and constructed as global data of class Statistics. The array will hold … | |
I have a problem in my programming ....kindly help me...how to implement this problem.... Make a Java application that will create and implement the following: Global data: static int[] num1 = new int[10]; static int[] num2 = new int[10]; static int[] num3 = new int[20]; Methods: //arrNo value is either … | |
I/P : Input array[] = {4.0, 6.5, 34.0, 2.0, 56.0, 73.0, 5.0, -5.0, 22.0, 45.0, 52.0, 42.0, 421.0} O/P: Sorted array[] = {-5.0, 2.0, 4.0, 5.0, 6.5, 22.0, 34.0, 42.0, 45.0, 52.0, 56.0, 73.0, 421.0} Sorted array using bubble sort. public class BubbleSort { double[] getBubbleSort(double[] values) { [COLOR="Red"]return new … | |
Hello friends...I was given a task that ,taken a image u have to convert it into pixel values... And I have to find the difference in pixel values in various parts of the image..ie when u take ur own photo u have to pixel values of eye portion and other … | |
I am brand new to java this semester. So far it has been going well, but having trouble figuring out how to do this one part of a program I am working on. This program requires the user to input a playing card, abbreviated, such as 9D for 9 of … | |
How do I change the ASCII value of the character? It seems to give me the values but I don't know how to change them. I am not sure how to do it right. [ICODE] public void toUpperCase(){ // if ((ch >='a')&&(ch <='z')) // return(char)(ch-32); // Explicit // return ch; … | |
hii can any one help me in setting path for jdk1.5 plssssss help me my jdk1.5 is loacated as follows C:\Program Files\Java\jdk1.5.0_05\bin | |
Hi there! Anyone got any code of a Java application like an animation of a data flow within a system?Any code.I could change it later.Thanks | |
Hi I am using 2005 vb.net in that five columns is there like Field, Default Label, Visible ,Custom Label, Sort Order, Field Default Label Visible Custom Label Sort Order AC_DOC_NO Accounting Document Number Select Sort Order 1 2 3 4 5 6 7 8 9 10 11 12 13 14 … | |
Greeting friends I have intermediate knowledge in Java but I have never been to keen whe it comes to GUI. I been ask at work to learn more about GUI's, my question is, Does anyone knows any good online GUI tutorials. Thank you for any tips or responses. GCard | |
Hi to all, I am using Java version 1.3 with IBM Websphere and DB2. I would like to create a page that you can save and retrieve an image from DB2 and post it on a web page using a stored procedure. My questions are: 1. How should I create … | |
/** Program name: MonthlySales.java Author: Dominick Saccoccio Date: 2-19-08 Description: The program provides an end-of-the-year sales analysis for a company. The revenue contains total sales for each month, where revenue ={ 16692, 2504, 2463, 1857, 2369, 2684, 3374, 2630, 2531, 1928, 2692, 2578} presents the sales of January to December. … | |
haiii friends.. i want to generate buttons at the run time...and want to get the value on "onclick"... The code is like this.... <html:button property="button1" onclick="getButton();" styleClass="FORM"><%=list.get(x)%></html:button> x is incrementing...this code is inside a for loop...... thanksssssssss..... | |
Hi, My project requires, autosuggest textbox in jsp/servlets/javascript where we retrieve data from database(oracle). Thank u, Sridhar. | |
hi, I am making a web based application.There is a page where user can update his record. For that when user clicks on modify button on one page(page1.jsp) the corresponding record is to be displayed in textboxes corr to various fields such as name ,id etc. on a different page(page2.jsp).The … | |
My problem: Use an Iterator to go through all of the elements in the list, getting each element's textual representation, and displaying this text neatly inside the text area. My thoughts: Do I use an add method to add elements from the list to display onto the text area? | |
/** Program name: MonthlySales.java Author: Dominick Saccoccio Date: 2-19-08 Description: The program provides an end-of-the-year sales analysis for a company. The revenue contains total sales for each month, where revenue ={ 16692, 2504, 2463, 1857, 2369, 2684, 3374, 2630, 2531, 1928, 2692, 2578} presents the sales of January to December. … | |
Hi all, I have a program which downloads a bunch of documents from a remote server and after bundles them up in a .zip file using ZipOutputStream. The problem is that when I download the files, there could be more than one file with the same file name. So, when … | |
I need code for autosuggest textbox in html using java connecting database. plz its very urgent. Thanking u in advance. Sridhar. | |
Implementation of Apriori algorithm using count distribution algorithm could any one send the source code at [email]chetan_a84@yahoo.com[/email] | |
If anyone can throw a good suggestion my way, i 'd love it. I'm coding a piano that uses Swing and the piano keys are JButtons. A standard computer keyboard can be used to play notes by linking up to the JButtons. I'm only using two buttons for a prototype. … | |
Hi I am really little bit new to java , actually J2ME , really , can anyone know the API or libraries that can freely download to handle the vcf business card format that come with outlook express ? I really feel lazy to write my own code , anyone … | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Testing fo Validation using Javascript</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript"> var loginForm; window.onload = init; function init() { loginForm = document.getElementById('login'); loginForm.onsubmit = function() { return canSubmit(this); } loginForm.username.focus(); } function filled(field) { if(field.value == " " || field.value … | |
Hi all, I have a program which bulk-downloads files from a remote server. The program runs in console (I am not using SWING or AWT). I would like to show progres (e.g. progress bar) while the files are being downloaded. Can someone point me to right direction... which classes to … | |
I have established a connection with a website using the HttpURLConnection.. Now I need to retrieve the number of http requests to that site...and other such parameters.. How can I do this..Anyone can help?? | |
I'm sorry if it's not the right place for this question, but I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if … | |
Hi! I'm trying to run a servlet from Java program. This servlet would then open a JSP page in browser. The problem is that the contents of the jsp file is showed in Eclipse console, but it doesn't show in Firefox. Could you help me plz? Sorry for my bad … |
The End.