Thanks to visit codestin.com
Credit goes to www.java2s.com
Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
COM Port « Development Class « Java
Java
Development Class
COM Port
1.
Querying Available COM Ports
2.
Printing a File
3.
List the ports
4.
Open a serial port using Java Communications
5.
Subclasses CommPortOpen and adds send/expect handling for dealing with Hayes-type modems
6.
Read from a Serial port, notifying when data arrives
7.
Choose a port, any port!
8.
Read from multiple Serial ports, notifying when data arrives on any
9.
Demonstrate the port conflict resolution mechanism
10.
Port Finder
11.
Port Reader
12.
Port Sniffer
13.
Port Writer
14.
This program tries to do I/O in each direction using a separate Thread