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