|
And would like some fries with that ?
|
|
|
|
|
|
|
How about "TooLazyToDoMyOwnWork.com".
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
|
Was searching for info on java reporting and found this site. Figured it was worth sharing. www.javareports.info
|
|
|
|
|
HI everyone..
please send me some prolects details to related to java..beens..J2ee for using as referels for some document
regards
Dilanka
|
|
|
|
|
This question is rather difficult to answer satisfactorily. I suggest you use Google to search for something that would satisfy you, or go to the Java Tutorials[^] and use some of the samples there.
In either case, if you wish to make it as a developer you need to learn how to do your own research.
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Hi,
I developed an application in seam framework using Seam-Gen tool. I imported the application into eclipse. while running the build.xml file I am getting the BUILD FAILED error. The error is as follow.
C:\Program Files\jboss-seam-2.2.0.GA\seam-gen\build.xml:1674: The following erro
r occurred while executing this line:
D:\Development\booking\build.xml:316: Failed to copy D:\Development\booking\reso
urces\booking-dev-ds.xml to C:\Program Files\jboss-4.2.3.GA-Vue\server\C:\Progra
m Files\jboss-4.2.3.GA-Vue\deploy\booking-ds.xml due to java.io.FileNotFoundExce
ption C:\Program Files\jboss-4.2.3.GA-Vue\server\C:\Program Files\jboss-4.2.3.GA
-Vue\deploy\booking-ds.xml (The filename, directory name, or volume label syntax
is incorrect)
Can any one please help me in this regard.
Thanks,
Sunil.
|
|
|
|
|
C:\Program Files\jboss-4.2.3.GA-Vue\server\C:\Program Files\jboss-4.2.3.GA-Vue\deploy\booking-ds.xml
...[]while executing this line:D:\Development\booking\build.xml:316:
greets Torsten
I never finish anyth...
|
|
|
|
|
I have program by java:
I want to do the following
1- read from file integer number
2- after reading sort the integer number
import java.io.*;
import javax.swing.*;
import java.util.*;
import java.util.Arrays;
class read1
{
File infile;int n=10;
public void getInput()
{
try
{
JFileChooser jfc = new JFileChooser();
jfc.showOpenDialog(null);
infile=jfc.getSelectedFile();
FileInputStream fis =new FileInputStream(infile);
Scanner sc=new Scanner(fis);
int[] arrayToSort = new int[]
Arrays.sort(arrayToSort);
for (int i = 0; i < arrayToSort.length; i++)
System.out.println(arrayToSort[i]);
}
catch (Exception e)
{
e.printStackTrace();
}
}
public static void main(String[] args)
{
read1 e=new read1();
e.getInput();
e.sortIntArray();
}
}
my question this program execute but problem in this line
int[] arrayToSort = new int[]
modified on Friday, March 19, 2010 8:58 AM
|
|
|
|
|
Suggestion: put your code between <pre></pre> tags to make it readable. Hint: use the code block button in the editor.
Question: what is your problem?
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
salemmohamed wrote: my question this program execute but problem in this line
Well you have not specified any size for the array you are trying to create.
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
salemmohamed wrote: int[] arrayToSort = new int[]
1. Inside the [] at the end, specify a length for the array.
2. You left off the semicolon at the end of the line.
|
|
|
|
|
|
Hello Friends
I am using j3d Library.
Do u have any Idea of all the Functions of TextureAttributes with their parameters?
On sun site,I didnt get proper Descriprion.
So, do u have any Ideas??
Any Help will be appreciated.
Regards
Yogesh
|
|
|
|
|
Hi Yogesh,
Thanks for your message (and your faith), but I'm sorry I have not used 3D in Java so I really cannot help you. The only place I have found any information is the J3D Project[^], so I guess that is where you need to go.
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I found this page[^] through a Google search for "Java 3d" and then followed the links through J3D[^] to the documentation, and I think this[^] is the page you want.
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Hello Richard Sir
I am very thankful to you that you googled for my Problem.I already joined that java.net forums too.and I will go thru docs but almost I read.Its My pleasure to have a guide like you.
Thanks Again.
Regards
Yogesh Sikri
|
|
|
|
|
Well I know that I have not solved any of your problems, but you are most welcome to any help I am able to offer. I hope you are successful with your project(s).
[edit]btw, I know that most Eastern cultures include a great deal of formality in addressing each other, but there is really no need to call me "Sir". We are all equals here in CodeProject, and just trying to offer assistance to each other in our challenges.[/edit]
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Does anyone here know how to read and write to a Parallel Port using java communications API. I have used so many different packages such as parport and it has been unsuccessful. There seems to be a lot of codes in VB, VC, C etc. Please can someone help me out, I am trying to create a Java code to interact on the parallel port on a windows machine. Your help will be much appreciated. This is what I have kind of come up with so far:
class SimpleIO {
public static void main ( String []args )
{
ParallelPort lpt1 = new ParallelPort(0x378); // 0x378 is normally the base address for the LPT1 port
int aByte;
aByte = lpt1.read(); // read a byte from the port's STATUS pins
System.out.println("Input from parallel port: " + aByte););
aByte = aByte >> 2; // a simple and irrelevant operation
lpt1.write(aByte); // write a byte to the port's DATA pins
System.out.println("Output to port: " + aByte);
}
}modified on Thursday, March 18, 2010 4:00 PM
|
|
|
|
|
I Googled "Java parallel IO" and found this[^].
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
yes I have already checked the site you showed me, but this site didnt help as the codes they have weren't working and majority of the info is on serial ports.
|
|
|
|
|
Fahimul7 wrote: majority of the info is on serial ports.
Did you scroll down to the parallel port sample?
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
yes I did, tried using the examples given on the pdf and they did not work, i did hours of research on the internet and theres seems to be no solution, your help will be much appreciated if you can find anything
|
|
|
|