Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa IDE-Questions Java Serial Communication
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


satej
Java Serial Communication
3 Answer(s)      4 years and 7 months ago
Posted in : IDE Questions


Does Netbeans support serial port communication for windows???

because netbeans doesnt support javax.comm package .
I tried my program with notepad for rxtx. It worked properly &
same with netbeans gives exceptions while opening port.

Does any one have any idea? pls help.thanks in advance.

Its giving Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: gnu.io.LPRPort cannot be cast to gnu.io.SerialPort
at code
serialPort = (SerialPort) portId.open("JavaApplication5", 2000);

Advertisement
View Answers

February 20, 2010 at 3:57 PM


Hi Friend,

Which version are you using?

Thanks


February 20, 2010 at 4:19 PM


I have checked it on both netbeans 5.5 and 6.8.


February 20, 2010 at 4:28 PM


if u have program for this. can u send me for reference?


Related Tutorials/Questions & Answers:
Java Serial Communication - IDE Questions
Java Serial Communication  Does Netbeans support serial port communication for windows??? because netbeans doesnt support javax.comm package . I tried my program with notepad for rxtx. It worked properly & same with netbeans
serial port communication using bluetooth in j2me
serial port communication using bluetooth in j2me   how to make serial port communication using bluetooth in j2me ? what r prerequisites
Advertisements
serial port communication using bluetooth in j2me
serial port communication using bluetooth in j2me   how to make serial port communication using bluetooth in j2me ? what r prerequisites
how to create month wise serial number in java?
how to create month wise serial number in java?  Ex: For 1)January-serial number is 1/001,1/002,1/003 etc
Interthread Communication in Java
Interthread Communication in Java As you know about producer-consumer problem... wasting of cycle or polling, interthread communication is a good way.  Given below some function helpful in interthread communication : Methods
Wireless communication - Java Beginners
Wireless communication  I want to send and receive data(message/data) between 2 lappys which are connected in wireless lan. can u plz expalin how to start the JAVA source code
SERIAL data type
SERIAL data type   hello, What is SERIAL data type in MySQL?   hii, SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
Serial COM Port Value in to database
Serial COM Port Value in to database  How save the serial COMport value in mysql databse. Following code is here. package simpleread; import...(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL
Interthread communication
Interthread communication       Java implements a very efficient way to interprocess communication among threads which reduces the CPU?s idle time i.e. A process where
Communication Tube
Communication Tube       Communication Tube - web messenger chat client for the popular IM (instant messaging) networks: ICQ , MSN Messenger, Google Talk (GTalk) , IRC Read full
Communication Portal
Communication Portal       A communication interface desinged with Web 2.0 technology, mission is to help peolpe communicate easily over a comfortable web interface Read full Description
Interthread Communication
Inter-Thread Communication       Java implements a very efficient way to interprocess communication among threads which reduces the CPU?s idle time i.e. A process where
jar file not reading input from serial port
jar file not reading input from serial port  i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown...() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals(defaultPort
jar file not reading input from serial port
jar file not reading input from serial port  i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown...(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals
Inter Thread Communication
Inter Thread Communication  what is inter thread communication?   hi friend, Inter thread communication is a process of communication... : http://www.roseindia.net/java/thread/InterthreadCommunication.shtml http
Communication Effectiveness in Outsourcing, Communication Techiques in Outsourcing
Communication Effectiveness in Outsourcing  Introduction A good part of the communication in outsourcing relationships is achieved... to communicate, the success of communication increases in the order of email, telephone
about value taken in java database - JDBC
about value taken in java database  how to take value from Serial port communication Hyperterminal to the java database
digital communication system
digital communication system  A digital communication system capable of interconnecting, a large number of computers, terminals and other peripheral devices within a limited geographical area is called- a) LAN, B) WAN, C
applet servlet communication - Applet
communication by creating a webproject in eclipse. I am creating a web... into WebRoot it is working. So my problem is when I made some changes in any java... in java file will reflect without copying into WebRoot.  Hi Friend, We
Data over Voice Communication
Data over Voice Communication  I just Want to know that Data Over Voice communication is possible in India or Not, If not then Why. and If Yes then Why Please anyone give the answer
servlet to applet communication
(servletConnection.getInputStream()); g.drawString("Applet Servlet Communication",50,50); String str...;body> <h1>Java Applet Demo</h1> <applet code
Inter Server Communication - Struts
Inter Server Communication   Hi In my project I am using Struts2.0 ,I have 2 server one is web-logic server and another is Tomcat server. In web-logic server , there is link to call tomcat server for call struts application
What is the general flow of Hibernate communication with RDBMS?
What is the general flow of Hibernate communication with RDBMS?  Hi, What is the general flow of Hibernate communication with RDBMS? thanks
Need of Communication Management
Communication management is the systematic process by which any organization planned, implement, monitor or revision the all channels of communication for better output. It is the wide use of communication technology within
Communication Website Development
Communication Website Development We provide high quality Communication... team will help you in developing websites for Communication industry. We... for communication industry. A website is the virtual representation of a company
Communication: Marketing tools
Communication has become an inseparable part of modern life and the same is true for the survival of any business organization where communication... be a guarantee for its success if there is a gap of communication among its other
Parent - child jsp communication - JSP-Servlet
. its a distance master display with 4 columns like: Serial No Fromcity...=no,resizable=yes,menubar=yes'); } Serial NoFrom CityTo CityDistance 2)edituser.jsp Serial NoFrom
Parent - child jsp communication - JSP-Servlet
. its a distance master display with 4 columns like: Serial No Fromcity
 

 

 

DMCA.com