| |
thread by: ramya kandasamy |
last post May 21 '22 by: zmbd
now i am leaning thunderhead tool for my project.will it be useful for my carrier.can any one tell about the scope of the thunder head tool .which are the companies using this tool?
|
thread by: r035198x |
last post Oct 30 '08 by: chaarmann
The program below simply reads a file called FileTest1.java(itself) and prints it to the console
import java.util.Scanner;
import java.io.*;
class FileTest1 {
public static void main(String args) {
Scanner inputFile = null;
try {
|
thread by: itsraghz |
last post Jun 9 '09 by: itsraghz
Dear All,
I have an issue with destroy() method of java.lang.Process class. All what I am trying to do is, controlling the execution of one program through another. Let's say, Program B has to be executed conditionally through Program A based on the commands it gets from the user. Let's say, we have two inputs, "start" and "stop" to drive the...
|
thread by: Asad Khan |
last post Jul 17 '05 by: Bryan E. Boone
public boolean equals(Object o) {
if (!(o.equals(null))) { // *
if (o instanceof foo) {
if (this.equals(o)) {
return true;
}
}
}
return false;
}
|
thread by: prasath03 |
last post Jun 21 '07 by: prasath03
Dear All,
Can anybody help me about my coding, i'm inserting the image file to database using jsp. When i execute the code, the following error is occurred:
java.sql.SQLException: Insert Error: Column name or number of supplied values does not match table definition.
I'm using MS-SQL Server.
My code is:
|
thread by: Sebouh |
last post Oct 24 '07 by: JosAH
Hi guys. I don't know how to implement this so i was hoping if any of you can help me.
I have a code like this one:
public static void main (String args)
{
//create frame and button
....
frame.setVisible(true);
frame.add(button);
|
thread by: rawringbuny |
last post Jan 24 '11 by: Oralloy
hi! i was doing wondering if there's a way to print out & increment 3-digit-serial no.?
i was planning to print out an invoice.
i want the starting of the invoice to be in this format YYYYMMDDNNN (where YYYY is the year, MM is month, DD is date & NNN is serial no (e.g: 001, 002, 003....) )
i've did the Year, month and date already. but when i...
|
| |
thread by: ndac |
last post Mar 21 '07 by: Mark Rafn
Hello,
How should I pass a function as an argument?
Regards,
Pieter
|
thread by: amanjsingh |
last post Sep 10 '08 by: r035198x
Hi, I am trying to implement Java Web Service using Apache Axis2 and Eclipse as a tool. I have created the basic code and deployed the service using various eclipse plugin but when I try to invoke the service using client stub, I get this error...
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
org.apache cannot...
|
thread by: aldsaldrin |
last post Nov 11 '08 by: r035198x
Hi,
Unbound Classpath variable:
What does that mean? How do I solve it?
Many thanks..
|
thread by: tegdim |
last post Nov 4 '06 by: horace1
Hello,
I'm trying to send a string to a subprocesses' output stream in my java program. I'm writing the data to the stream and then trying to flush the stream.
This, however , isn't actually sending anything to the subprocess (a python program) and the data only actually gets sent to the outputstream when I close the stream. I'm wanting to...
|
thread by: blazedaces |
last post Jul 21 '07 by: r035198x
Hi guys, what I'm I have is a jtable with boolean variables in the first column and text in the next two (checkboxes). I want my tableChanged method to make it so when I check one of the checkboxes then it would change whether that third column is editable or not.
I have made a short array that would hold values of either 0 or 1, basically...
|
thread by: Barry Olly |
last post Jul 17 '05 by: PerfectDayToChaseTornados
Hi,
I'm working on a mini content management system and need help with
dealing with special characters.
The input are taken from html form which are then stored into a
varchar column in oracle database.
When i retrieve the data, some of the special characters have been
changed to ??? and also
|
thread by: Naresh Agarwal |
last post Jul 17 '05 by: David Hritz
Hi
Is there a way to copy the stack trace in a string, which is obtained
via printStackTrace function of Exception object.
Essentially I want to log the stack trace in case of any exception in
a log file.
thanks,
Naresh
|
thread by: Oz Mortimer |
last post Jul 17 '05 by: Darryl L. Pierce
Hi,
Is there any way that I can scroll a canvas - i.e. if there are too many
items on the canvas you can still access by pressing down. I know Form does
this (apparently) but I need to do it using a canvas!. Maybe I can attach my
Canvas to a form?
Ideas?
Oz.
|
| |
thread by: Petrosa |
last post Apr 30 '07 by: JosAH
Hi. i am new to java and just starting to learn how it works.
My problem now is, i need a very simple code, that shows a window, where u enter a string, and by pressing a button, it runs various checks on that strings (if it contains uppercase chars, digits, special case chars etc) and then displays a text with the results. Also, if possible a...
|
thread by: CodeTilYaDrop |
last post Feb 18 '08 by: JosAH
Does anyone know how to compare contents of two ArrayLists? I want to compare them to see if they match up. Do you have an example or could you point me in the right direction. I know I need to loop through it with an if statement a for loop somehow or both, but I am not sure how. thanks for any help you can provide-
|
thread by: Spammay Blockay |
last post Jul 17 '05 by: F
I've been tasked with doing technical interviews at my company,
and I have generally ask a range of OO, Java, and "good programming
technique" concepts.
However, one of my favorite exercises I give interviewees seems
to trip them up all the time, and I wonder if I'm being too much
of a hardass... it seems easy enough to ME, but these guys,...
|
thread by: ankitabhatia |
last post Jul 24 '13 by: chaarmann
i have 2 long numbers
eg xl=12345678
xr=87654321
i want to merge these 2 nos. into a single long number
i have to do this in java..
any help would be great..thanks a lot:)
|
thread by: jerald m |
last post Feb 11 '11 by: jerald m
Hi,
For Login authentication.
i create JSP Form.
login.jsp(webapps/loginsystem/login.jsp)
<form method="POST" action ="http://localhost:8085/loginsystem/lo" name="login">
<font color="#FFFFFF" face="Bauhaus 93" size="4"><-- BACK</font></a></p>
<div align="center">
|
thread by: dmjpro |
last post Sep 21 '07 by: JosAH
Please Help!
I found it for Solaris and Linux but for windows I didn't.
Please Help!
Kind regards,
Dmjpro.
|
thread by: deepthisoft |
last post Jul 24 '08 by: r035198x
hi,
I have converted vector to object. How can I convert Object into Vector.
My code look like this,
Vector column=new Vector();
column.add("one");
|
thread by: Zulik |
last post Jul 17 '05 by: Chris
Hello,
I might have a bad day today but I have a byte buffer holding binary
numbers. Now, I want to convert this to byte buffer with hex numbers. Is
there any elegant way of doing that?
Some method like: byte bin2hex(byte) {}
BRs,
Zulik
|
| |
thread by: asenthil |
last post Jul 12 '08 by: maeon3
Hai,
i'm a beginner to java...
just now i had tried to read and write files using java...
and then i had tried to connect a database using jdbc...
now i want to export the data's from a database into a text file
|
thread by: PollyR |
last post Mar 1 '23 by: Riya Bajpai
And Is Java as good as PHP for web development?
|