32,199 Topics

Member Avatar for
Member Avatar for kpp003

[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 …

Member Avatar for VernonDozier
0
83
Member Avatar for Dilbert137

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

0
64
Member Avatar for swetha bandaru

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

0
52
Member Avatar for kiwanz7

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 …

Member Avatar for masijade
0
76
Member Avatar for kiwanz7

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 …

Member Avatar for masijade
0
116
Member Avatar for AS_82

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 …

Member Avatar for javaAddict
0
90
Member Avatar for Rasjoe

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 …

Member Avatar for Rasjoe
0
94
Member Avatar for Koldsoul

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 …

Member Avatar for Koldsoul
0
82
Member Avatar for Mquin

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; …

Member Avatar for joshSCH
0
120
Member Avatar for srikanth882003

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

Member Avatar for masijade
0
106
Member Avatar for Jonhlong

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

Member Avatar for Phaelax
0
55
Member Avatar for srinukatkam

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 …

Member Avatar for SheSaidImaPregy
0
80
Member Avatar for gcardonav

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

Member Avatar for DangerDev
0
70
Member Avatar for fpaquin

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 …

Member Avatar for fpaquin
0
117
Member Avatar for nuch1311

/** 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. …

Member Avatar for DangerDev
0
123
Member Avatar for ajithraj

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.....

Member Avatar for ajithraj
0
91
Member Avatar for sridharp_in

Hi, My project requires, autosuggest textbox in jsp/servlets/javascript where we retrieve data from database(oracle). Thank u, Sridhar.

Member Avatar for masijade
0
63
Member Avatar for Ankita B

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 …

Member Avatar for jwenting
0
74
Member Avatar for Danii

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?

Member Avatar for Danii
0
109
Member Avatar for nuch1311

/** 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. …

Member Avatar for Ezzaral
0
107
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
4K
Member Avatar for sridharp_in

I need code for autosuggest textbox in html using java connecting database. plz its very urgent. Thanking u in advance. Sridhar.

Member Avatar for jwenting
0
83
Member Avatar for chetanmangsuli

Implementation of Apriori algorithm using count distribution algorithm could any one send the source code at [email]chetan_a84@yahoo.com[/email]

Member Avatar for techniner
0
112
Member Avatar for JoePie

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. …

Member Avatar for JoePie
0
1K
Member Avatar for sanzilla

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 …

Member Avatar for sanzilla
0
141
Member Avatar for jino

<!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 …

Member Avatar for ryan_vietnow
0
70
Member Avatar for new_2_java

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 …

Member Avatar for Ezzaral
0
244
Member Avatar for Shveetis

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??

Member Avatar for Phaelax
0
67
Member Avatar for Wiizl

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 …

Member Avatar for Wiizl
0
300
Member Avatar for kittie1985

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 …

Member Avatar for ~s.o.s~
0
131

The End.