Home Answers Viewqa IDE-Questions Java Serial Communication

 
 


satej
Java Serial Communication
3 Answer(s)      3 years and 3 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);
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 Pages:
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
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
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
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
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
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
servlet to applet communication
(servletConnection.getInputStream()); g.drawString("Applet Servlet Communication",50,50); String str...;body> <h1>Java Applet Demo</h1> <applet code
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
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
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
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
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
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
Inter-Thread Communication
Inter-Thread Communication       Java provides a very efficient way through which multiple-threads...; This technique is known as Interthread communication which is implemented
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
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
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
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
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
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: 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
Java UDP
Java UDP       TCP and UDP are transport protocols used for communication between computers. UDP... with a short response. Read more at: http:/www.roseindia.net/java/example/java/net
Outsourcing Communication Tips,Useful Cultural Tips in Offshore Outsourcing,Communication and Culture Tips
Communication and Culture Tips in Offshore Outsourcing Relationships... into difficulties due to communication problems. The trend is very prominent in both... communication arrangement? Or is it due to poor communication skills of the people
Confermation for use of API - Java Beginners
an application for wireless communication between mobile and pc. Let me know which api... Jawad  Hi friend, PC and mobile phone communication can be established by three ways: 1. serial port (requires a data cable). 2. infra red
Java example program to get IP address of own system
Java example program to get IP address of own system       java get own IP address An IP... is assigned to the devices participating in the network for communication. To get IP
core java - IDE Questions
core java   what are the functions and mechanisms used to write and read from serial port
Communication Tube - web-based messenger!
Communication Tube - web-based messenger!       CommunicationTube - It's a free web messenger chat client for the popular IM (instant messaging) networks: Windows Live Messenger (MSN
java
need to insert serial No and other details of an employee.At the same time i need... of serial number of table staffing and place its value in the reference column of User table. My Problem is that i am able to get the serial number(value
registration key - Java Beginners
registration key  I want the serial key for JCreator Pro 4.50. I lost it. If any body has it please send
java
java  Hell Team, I am totally new to java, from net am setup in my machine netbeans, mysql and tomcat server. I am working in a small enterprise... serial no. of that invetntory, then I prescribed my machine problem and submit
jstl - Java Beginners
jstl   hi, I need sample code for auto increment the serial number fro mthe table using jstl. Please send the sample code urgently needed. Thanks, Valarmathi
Server Sockets
an end-point of two-way communication link over the network between two... program and a server program. In java there is a java.net package, which... the server side connection. In Java there are many socket class that is used
program of java - JSP-Servlet
program of java  hi friends... i hv faced a problem of jsp code.my problem is... i want to extract data from dropdown menu to the next jsp page..... and also i want to generate a serial no and with this serial no , i want
CodeSkin for TI C2000 DSP
CodeSkin for TI C2000 DSP        The Eclipse plug-in provides an error parser for the C2000 compiler as well as serial flash programmer (equivalent to C2oooProg
java - Java Interview Questions
java  What are interthread communication mechanism avialable in java. with example.   Hi Friend, Please visit the following link: http://www.roseindia.net/java/thread/InterthreadCommunication.shtml Thanks

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.