To ensure you are getting the latest information please vist this page on the new domain for SAP Development
Application to retrieve data from SAP(using JCo) and display it using Swing
The following code provides a simple example of how JCo can be used 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.