CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - java pri
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - java pri - List
[
JSP/Java
]
primenumber
DL : 0
java环境编写,计算100以内的素数。使用于初学者。-prepared, calculated within the 100-number. Beginners in use.
Date
: 2025-07-04
Size
: 5kb
User
:
肖剑强
[
JSP/Java
]
SerialDemo
DL : 0
Serial Communication-package aa import javax.comm.* import java.util.Properties import java.util.Enumeration import org.omg.Dynamic.* import java.awt.Choice public class serialcomm { void listPortChoices() { SerialParameters parameters=new SerialParameters() Choice portChoice=new Choice() CommPortIdentifier portId Enumeration en = CommPortIdentifier.getPortIdentifiers() while (en.hasMoreElements()) { portId = (CommPortIdentifier) en.nextElement() if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()) } } portChoice.select(parameters.getPortName()) } public static void main(String args[]) { serialcomm scomm=new serialcomm() scomm.listPortChoices() } } class SerialParameters { private String portName private int baudRate private int flowControlIn pri
Date
: 2025-07-04
Size
: 10kb
User
:
lts
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.