To ensure you are getting the latest information please vist this page on the new domain for SAP Development
Applet to retrieve data from SAP(using JCo) and display it using Swing
The following code provides a simple example of how to create an applet which uses JCo to connect to
SAP and retrieve data via a BAPI function module. It then displays the data in a simple dropdown menu
using swing functionality.
To implement this example simply copy the code for the following two class into a class(.java)
file (i.e. within eclipse). Just follow links below for class code.