32,204 Topics
| |
[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, … | |
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 … | |
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 | |
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. :( | |
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 … | |
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 | |
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 … | |
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 … | |
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]; // … | |
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 … | |
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 | |
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 … | |
[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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how i can find emulator nokia 3500( classic), for netbeans...please this for may study... | |
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 … | |
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... | |
can anyone tell me how to round off the values.. | |
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 … | |
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? | |
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 … | |
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 … | |
where i can find emulator nokia 3500(clasic) for netbeans 6.1? |
The End.