Binesh Thusantha

Greenhorn
+ Follow
since May 01, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Binesh Thusantha

My need is to read data sent over a digital scale to the Serial Port, but the problem is that even though i implement the serialEvent(...) method after implementing SerialPortEventListener interface, it only captures data at one purtcular time and not read continuously.

My requirment is to view the changing data of the scale.

I would be really thank full to who ever wishes to probide me an answer.

thnk you.
Well this is all that is thrown as an exception. i have no idea due to what reason. the same code executed on a differant mechine works just fine and displays the report.

Im using netbeans as my development environment, and i'v added all nessesery .jar files for copiling and displaying the report.

Is there any additional need for me to add any System Variables..?

Help from anyone will be greatly appreciated.

thank you....
I have a test.jrxml which needs to be compiled and viewed, but when compiling with the following statement

JasperReport jasperReport = JasperCompileManager.compileReport("reports/test.jrxml");

there is an Exception thrown

net.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\NetBeans Projects\WeighMasterTech\test_1183793872312_372534.java

It would be really helpful if anyone of you could point out the reason of this cause.

thank you.
Do you know free, legal Netbeans 5.5 ebook.

[Request amended by Dave. Otherwise we'll all get in trouble]
[ March 04, 2007: Message edited by: David O'Meara ]
I will try to install netbean to my computer but at that time said my machine not have sdk and jvm
which classes do not override the equals() and hashCode() methods, inheriting them directly from class Object?
Pls explain what is the hashCode in java and where we can use it?
[ May 29, 2006: Message edited by: Binesh Thusantha ]
class A{
private void m(){
System.out.println("A");
}
}
class B extends A{
private void m(){
System.out.println("B");
}
public static void main(String [] args){
A x = new A();
B y = new B();
x.m();
y.m();
}
}
When I was compile this program throug the Java 5, It will complain Compile error. Pls explay why?
Binesh
class A{
private void m(){
System.out.println("A");
}
}
class B extends A{
private void m(){
System.out.println("B");
}
public static void main(String [] args){
A x = new A();
B y = new B();
x.m();
y.m();
}
}

If i change B y = new A(); as B y = new B(); but the compiler complain the error. so what please explain what is the reason.
Binesh


when I compile this code through Java 5 version their come compilation error. pleas explain what is the reason for that.
Pls tell how to insert sound in java progrem?
what are the sound we can use in java?
Binesh
16 years ago


Pls Explain this code and give an explainable output
Thanks for your reply Vlado Zajac.....

Can u explain why does N() call M()


can u explain y this type of output come here? Please explain.....
M.prints1, M.s1N.prints1, N.s1
What is String Pool?
When object create in String Pool?