Converting VB to Java with JNA

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I am looking to create a runPE in Java using JNA.

This is the VB code I want translated:

You must use JNA to do this:

Skills required:
Java, Visual Basic, Windows API
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire wanly3643vw
$ 50
in 1 days
$ 150
in 7 days
$ 50
in 5 days
Hire mwyork
$ 200
in 5 days
$ 250
in 2 days
Hire SamiSammour
$ 250
in 5 days
$ 120
in 5 days
$ 200
in 5 days