36,051 Topics

Member Avatar for
Member Avatar for rapperhuj

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 …

Member Avatar for peter_budo
0
102
Member Avatar for mystery_love123

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 …

0
58
Member Avatar for g_loughnan

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 …

0
73
Member Avatar for love_dude1984

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 …

Member Avatar for peter_budo
0
119
Member Avatar for hny_lyn

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 …

Member Avatar for javaAddict
0
196
Member Avatar for oali

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 …

Member Avatar for madhavipoudala
0
100
Member Avatar for ocreds

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 …

Member Avatar for javaAddict
0
219
Member Avatar for dav555

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 …

Member Avatar for dav555
0
106
Member Avatar for Naween

Does java has toString function? eg : txtamt.setText(toString(num)); But it doesn't work. Plz give me the right method.

Member Avatar for Miyuki Suzuki
0
79
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
128
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
164
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
52
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
92
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
98
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
81
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
50
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
66
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
160
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
137
Member Avatar for member98

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 …

Member Avatar for stephen84s
0
239
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
137
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
252
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
219
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
120
Member Avatar for sTyleSHA

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 …

Member Avatar for khipucoder
0
156
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
444
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
173
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
167
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
263
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
54
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
77
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
46
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
157
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
95
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
125
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
141
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
217
Member Avatar for Ixidor

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 …

Member Avatar for jholland1964
0
190
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
119
Member Avatar for willy taufik
Member Avatar for peter_budo
0
230
Member Avatar for Naween
Member Avatar for Naween
0
77
Member Avatar for vvfegade

I'm very new to JSP ,i want information about where to save & how to run JSP.what are the othe requairements for JSP

Member Avatar for Alex Edwards
0
62
Member Avatar for ajithraj

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

0
57
Member Avatar for rocky87

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 …

Member Avatar for Alex Edwards
0
164
Member Avatar for Sharaiha

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

Member Avatar for peter_budo
0
116
Member Avatar for siliconsmiley

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 …

Member Avatar for dickersonka
0
141
Member Avatar for liam_page1

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 …

0
43
Member Avatar for Alex Edwards

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 …

Member Avatar for Alex Edwards
0
172

The End.