how can automatic detect usb modem with java

Hello and welcome to Daniweb.

As you are new I would advise that you clarify your question. Include what you want it to do exactly, what you will be using it for and any other relevant info. The more information you provide the quicker we can help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.