Solved

Java applet get computer USB ports

Posted on 2013-05-23
2
851 Views
Last Modified: 2013-05-23
Hello,

I would like to create an applet, if the user authorize it, the applet will scan for the USB ports and find connected tokens to sign the login and complete the auth process.

I searched about it at google, but only find how to create the applet, but not how to provide the communication with the computer.

Thanks.
0
Comment
Question by:Rodrigoferra
2 Comments
 
LVL 1

Accepted Solution

by:
dcpetersonp earned 500 total points
ID: 39192049
You are correct.  You will need a signed applet.
You'll also need to use JNI to access the underlying operating system.  Here is some information on JNI that will help:  http://www.javaworld.com/javaworld/jw-10-1998/jw-10-apptowin32.html
0
 

Author Closing Comment

by:Rodrigoferra
ID: 39192082
Thanks, objective, it´s what we need, people how go to the point!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question