System and method for reducing memory use associated with the graphical representation of a list control
First Claim
1. A display system, comprising:
- a display;
an application program adapted to execute from a processor that also operates from an operating system;
a memory;
a software component containing lines of code which, during execution of the application program, fetch a list of text contained within the memory for producing an image of the list upon the display absent invoking a display routine from the operating system.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method are disclosed whereby a list-based control (e.g., a Listbox or Choice control) in a graphical user interface may share a single copy of a list with the peer component of the control in the application program interface (API) used to display the control. This overcomes a problem in legacy Java applications, based on the abstract windowing toolkit API, wherein the peer component creates a copy of the list when the corresponding list-based control is displayed. In contrast, peer components within the Swing API reference the original version of the list associated with the control, avoiding this redundancy. According to the system and method disclosed herein, an enhanced version of Swing can be used with legacy application programs, allowing them to benefit from this feature of Swing. No modification of the legacy code is necessary. This extension to Swing is referred to herein as AWTSwing.
68 Citations
17 Claims
-
1. A display system, comprising:
-
a display;
an application program adapted to execute from a processor that also operates from an operating system;
a memory;
a software component containing lines of code which, during execution of the application program, fetch a list of text contained within the memory for producing an image of the list upon the display absent invoking a display routine from the operating system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16)
-
-
12. A method for displaying an image, comprising:
-
running an application program upon a computer operating under an operating system also running on the computer; and
creating a list file during said running of the application program by pointing a call routine created in the application program to a library of platform-independent commands and storing the created list file in memory without creating a copy of the list file in memory.
-
-
17. A computer-readable storage device, comprising:
-
a single copy of a code listing that, when executed by a processor, produces an image containing a list of items which can be selected by a user via a pointing device;
an operating system for operating a computer that includes the storage device; and
an application program adapted to create the code listing absent any involvement of the operating system by sending call instructions to a software component that draws from commands within a library that are independent of said operating system, and importing said commands as said lines of code listing.
-
Specification