My Oracle Support Banner

How To Implement A Similar Function In Web Forms For "WIN_API_SHELL.SENDKEYS" (Doc ID 728703.1)

Last updated on NOVEMBER 05, 2019

Applies to:

Oracle Forms - Version 10.1.2 and later
Information in this document applies to any platform.
Checked for relevance on 15-Aug-2010


 The sample program in this article is provided for educational purposes only and is "not" supported by Oracle Support Services. It has been tested internally and works as documented. Oracle can not guarantee that it will work in all possible configurations and all future versions of Forms and Java. Therefore, be sure to test it thoroughly in your test environment before deploying it.

This document explains how to implement a similar function in web forms for "WIN_API_SHELL.SENDKEYS" that was used in Forms Client/ Server version.

The java class "Robot" can be used to implement a similar function in Java. This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed.

The following references might be useful to understand and build your first java code:

(1) Oracle9i Forms in a Java World (This white paper applicable also for version

(2) Oracle Forms / Java tutorial - How to build a new JavaBean

(3) Oracle9i Forms - Developing PJCs a Quickstart

The following also is a sample code that simulates keys: "Enter" and "End" when the forms item
gains focus. You can also download the sample code from here


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.