32,204 Topics

Member Avatar for
Member Avatar for jorgeflorencio

[QUOTE]Hello everyone I have the code that allows me to colect values acording if its Fail or Passed[/QUOTE] [CODE]package spimonitoring; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.lang.reflect.Array; public class InspectionResults44{ public static final byte HEIGHT_AVG_RESULT = 6, HEIGHT_RANGE_RESULT = 11, AREA_AVG_RESULT = 16, AREA_RANGE_RESULT = 22, VOLUME_AVG_RESULT = 29, …

0
126
Member Avatar for HLA91

Hi all I copied the source code for a simple text editor from [URL="http://www.leepoint.net/notes-java/examples/components/editor/nutpad.html"]http://www.leepoint.net/notes-java/examples/components/editor/nutpad.html[/URL] I tried to modify it slightly by adding a help column to the menu bar so you would click Help> then a drop down list would appear with About and you click that and a frame …

Member Avatar for HLA91
0
160
Member Avatar for nageswar48958

Hi Friends, This is Nageswar, I hava a text file in which there are name and phone numbers of different persons, my task is to read those content and transfer it to a excel sheet. please help me asap: Thank and regards Nageswar

Member Avatar for Ezzaral
0
51
Member Avatar for Naween

I created a java Applet. It has an error. The error is applet not initialized. I need urgent help for this error. I created the interface using netbeings & coppied the code to the Jcreater. :(

Member Avatar for Ezzaral
0
90
Member Avatar for turingmachine

Please help... I'm new to this topic. What is the best (are the good) SMS Java APIs available? (A SMS Java API that is comprehensive and/or easy to understand/integrate.) Is the SMSlib / smslib.org ok to use? (I'm trying to make a very simple program/connection between my pc/Windows XP to …

Member Avatar for peter_budo
0
97
Member Avatar for ashish_nirkhe

hello friends, i m in BE computer engineering, & selected a project in java for moving object detection with the help of web camera pls inform me where i can get help regarding this topic thanking you

Member Avatar for ashish_nirkhe
0
79
Member Avatar for zyaday

I'm trying to programm a game where the user can drag and drop images... I have some programms that do this by calling the repaint function for every mouse motion...I have also come across programms that use the java.awt.dnd class..I'm confused here..I don't know what will be the best...how does …

0
48
Member Avatar for diasmvds

Hi all, I have a JTable in my application. When I set data to a particular cell and hit enter key, cell focus will move to next cell of the same row. If my current cell is the last one of the row, then it will move to start of …

-1
63
Member Avatar for Aamit

Hi .. I am new to JavaMail... [url]http://209.85.175.104/search?q=cache:h2HRteCAXKoJ:www.zukowski.net/WebTech-JavaMail.ppt+javamail+faq&hl=en&ct=clnk&cd=4&gl=in[/url] i am trying to run this code ...from this url.. [code]import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; public class MailExample { public static void main (String args[]) throws Exception { String host = args[0]; String from = args[1]; String to = args[2]; // …

Member Avatar for Chaster
0
159
Member Avatar for Herd_ya

I am relatively new to java, and i really don't understand some of the things going on. A freind gave me his java exam from his first year at universtity, and said it was relatively easy, i still do not understand it, so i thought i would ask here to …

Member Avatar for Chaster
0
135
Member Avatar for Chaster

Hi everyone, well, my problem would be:There is a database server which contains no databases. So there is nothing to connect to (as it is needed by the DriverManager.getConnection instruction). How can I create a new database under these circumstances? Thanks, Chaster

Member Avatar for Chaster
0
134
Member Avatar for adityam4444

Hello I have a jsp on which there is a table and a hyperlink to Export the same table into excel sheet. According to the functionality, it is required that on clicking Export, a blank pop up without address bar and other toolbars will be opened and on that empty …

Member Avatar for adityam4444
0
249
Member Avatar for lich

[code=java] import java.awt.*; import java.applet.*; import java.awt.event.*; public class hashedited extends Applet implements ItemListener { CheckboxGroup cbg; //CheckboxGroup type1,type2; //CheckboxGroup cbg1; //CheckboxGroup size1, size2; private TextField amtpaid; private Button cancel; private Label cost; private Choice flavour; private Label flavours; private Label name; private Button ok; private Label paid; private Panel …

Member Avatar for vigneswara
-1
216
Member Avatar for sciwizeh

new to network stuff going through the java tutorials and i did what it said heres the code: [code=java]import java.io.*; import java.net.*; public class EchoClient { public static void main(String[] args) throws IOException { Socket echoSocket = null; PrintWriter out = null; BufferedReader in = null; try { echoSocket = …

Member Avatar for sciwizeh
0
3K
Member Avatar for HLA91

Hi all In the book im learning from 'Getting Started In Java' one of the example programs is a small swing application with some buttons and icons on the buttons. I typed the code and the book tells me to place my picture that i want to use as an …

Member Avatar for HLA91
0
114
Member Avatar for shaynicb25

I have to create a program that reads the text, outputs the text as is and prints the number of lines and the number of times each letter appears in the text. I have to include an exception, so that if the array index goes out of bounds when the …

Member Avatar for javaAddict
0
441
Member Avatar for Alex Edwards

Is the [X] at the top right corner part of the JApplet or container with the JApplet? I need to make an action happen when the user attempts to close out of the JApplet and I'm not sure of how to properly access the window-closed button within JApplet context. Thanks …

Member Avatar for Alex Edwards
0
170
Member Avatar for Alex Edwards

I'm having a Focus issue when running a Swing application. There are 4 buttons visible on the JApplet. I have an implementation that allows the user to make keyboard and mouse events in the JApplet. The problem is that I can use the keyboard and mouse events when the program …

Member Avatar for Alex Edwards
0
161
Member Avatar for Dancealot

Hi all. I am new to java, and trying to get bluetooth communication running on my mobile htc s710. I have heard something about having to initialize the stack before it can work, but I cannot find any information about how to do this, or how to get a package …

Member Avatar for peter_budo
0
260
Member Avatar for sciwizeh

i don't have any problem with it because i haven't tried to use it... i am curious whether anyone here has used the Speech API, and how it is to work with. what kind of results does it give, and how well does it work. i just don't want to …

0
51
Member Avatar for ashkash

I have a text box on a web page where I am allowing users to enter text. The maximum that can be entered is 500 characters so when the user clicks submit this validation works. The validation works, but the problem is that when the user enters a character such …

Member Avatar for sudhamp
0
74
Member Avatar for willy taufik

how i can find emulator nokia 3500( classic), for netbeans...please this for may study...

Member Avatar for peter_budo
0
44
Member Avatar for HLA91

Hi all I was trying to make it so my small program that gets user input would first ask for a string and then print out the string that the user entered, then it would ask for a number it would read it in as a string and then convert …

Member Avatar for javaAddict
0
155
Member Avatar for SonxQ7

Is there a Template Class in Java as in C++, or is Object class in Java similar to Template class in C++ or at least the concepts...

Member Avatar for Alex Edwards
0
84
Member Avatar for lich
Member Avatar for drum12

I have two arrays. In the first one I have student surnames, in second the student grades. (One surname one line with grades).My task is to find the arithmetic average for each student and print that student name and grade which have the biggest grade in array. I wrote the …

Member Avatar for VernonDozier
0
119
Member Avatar for dajiebuda

I'm learning java. I have one Jframe with 5 jbuttons. I want to click button1 to have a new Jframe come up. How should I define the 2nd Jframe? class? public class?

Member Avatar for VernonDozier
0
137
Member Avatar for linu

Hello Please help me with the following: i am trying to open a file with a specific application using java. I am working on a desktop application. The following code using java.awt.Desktop works for known extension types,but when trying to open a file with an unknown extension it throws an …

Member Avatar for linu
0
212
Member Avatar for neknek

I compiled the code just fine. But It doesn't show on the webpage. The error message is: load: class C:\kenken\Xample1.class not found. java.lang.ClassNotFoundException: C:.kenken.Xample1.class at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown …

Member Avatar for neknek
0
114
Member Avatar for willy taufik
Member Avatar for peter_budo
0
227

The End.