Browse Prior Art Database

Method of Accurately Reflecting State of a Remotely Controlled Entity in a Java GUI Application using Java Buttons

IP.com Disclosure Number: IPCOM000013618D
Original Publication Date: 2001-Apr-01
Included in the Prior Art Database: 2003-Jun-18

Publishing Venue

IBM

Abstract

Disclosed is a method for an application to provide "smart" graphical user interface (GUI) controls. Some typical controls are push buttons, checkboxes, and radio buttons. The push "button" is the control chosen that best illustrates the examples in this disclosure. In a GUI application that deals with remote resources, buttons are commonly used to perform actions on resources. A resource could be anything from a remote application server to a database. An action is a command to the resource like start, connect, or stop. This disclosure provides a technique to prevent a user from pressing a button whose action would fail. The uniqueness of this technique, is that it is dynamic ,and is based on the ability of the command to succeed (e.g. remote resource accessibility). The dynamic aspect means that the determination is made when the resource undergoes a change in status, without the user performing an action on the GUI. Button enablement is a common usability technique. With this technique, if a button has been pressed and should not be pressed again, it is disabled or greyed out so that the user cannot press it. Likewise, only buttons that are enabled or not greyed out can be pressed. Button enablement is also referred to as changing the state of the button. Button enablement prevents the user from attempting an action that is invalid, like starting something that is already started. (See Figures 1 2 below.)