36,051 Topics
![]() | |
hi sir, im a newbie in Java programming.. can u give me some tips or source.. that can read a file.. throughly and write to the file.. that can add more information to the .dat file when it adds or save more info to the existing file.. thanks a lot … | |
Hi All, I want to make a SQL parser in Java which will give the names of view ,column names in select clause,and table names in 3 different arrays. This is the SQL Query which is there in text file. create view NAME1 as select a.col1 as alpha, b.col2 as … | |
Hi Lads, I'm trying to read from one spreadsheet, extract the contents of certain cells, and write them into a new spreadsheet. I've read from one spreadsheet fine, but when I try to write to a new spreadsheet, the output file is empty and I can't see why. Can anyone … | |
hi every1.. im just starting with JSP..i run the jsp pages on a single machine using localhost:8080/examples/jsp/my pages...but what if i want to store my pages into some other directory n wish to access them then how can i do tht??is there any file wher ive to change the path … | |
hello to all!!! i really don't have any problem this time, but there's something i wanna learn more about! we are discussing classes and inheritance now!! my professor have given us quite examples of it....but it wasn't that clear!! can i ask for a simple codes that implements a class … | |
hi everyone i really need help with my problem, i have created a full online tutorial using applets however one of my html pages containing this particular applet will not show the applet when viewed in any broswer. The applet contains an image and without the image the browser shows … | |
I'm new in java programming but somehow I understand little especially basic because I have a background in Vb6 I find it difficult because it has lot of java keyword that I dont understand. Now, I need your help to defend this program in our class. Help me please. If … | |
I have a file containing different tags and datas like: VERSION: 1.1.1 NAME: xxx VALUE: 1.5 START_IMAGE ‰PNG.... END_IMAGE i can't change this file....it is not mine... But i need to read the png image between the START_IMAGE and END_IMAGE tags. I don't know the length of the image-data. How … | |
Does java has toString function? eg : txtamt.setText(toString(num)); But it doesn't work. Plz give me the right method. | |
[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..! I am trying to get whole browser in my jsp page. I have a sample url as, "http://www.ab.com/#/pages/ab" I need this whole URL to be print in my scriptlet code in jsp. I can't use javascript as that is disabled. I tried with REQUEST objets several methods like getURL … | |
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 … | |
Dear Viewers, I need your suggestion in choosing my job profile further. Currently i work as web designer with 2+ years of experience. I am in the process of learning xhtml, css and keen to explore the technical part of designing. I feel i could learn php also, as i … | |
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've got an issue with my computer that I suspect is something along the lines of a trojan.BHO. I downloaded an infected file and received a pile of trouble with it but seem to have cleaned out several with the exception of whatever's causing this: Currently apparent effects on this … | |
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? | |
How to use ActionListener and ItemListener together in one java program?? | |
I'm very new to JSP ,i want information about where to save & how to run JSP.what are the othe requairements for JSP | |
Is there any way to add an "invisible character" using unicode. The thing is that i want to add an invisible character in between two strings like A#B# ...# should be replaced with that invisible character, thanks in advance....... | |
I need help on an assignment, I don't know where to start, I have coded to so far for it to read in the words from a text file and an array for the words to be put into, after that I'm lost as to what the next step would … | |
[code]<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <% import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class Validation { public Validation() { System.err.println("nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"); } } %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Subittion Page</title> </head> <body> Your rquest … | |
Howdy folks, I need to open a dialog with some people that know more about Linux than I do. Specifically Apache httpd. I'm not sure that this is the appropriate place for this, so be gentle if not. Here's my situations, I have a Fedora install of Linux up and … | |
hey all, first post, im a real n00b at this.. its just part of my first yr at uni and dont even need it for the 2nd yr and never done it before.. anyway, if u could please just get me through this il be FOREVER greatfull... basically iv done … | |
I'm trying to create my own pattern (or something similar to a pattern I guess) where objects that are anonymously instantiated can still be referenced, but I'm getting weird memory results. It seems as if the free memory is decreasing when it should be increasing-- [code=java] import java.util.ArrayList; public class … |
The End.