Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for making JCombo Box assembly have behaviour perceptive ability

A technology of perception and expansion components, applied in the direction of program control devices, etc., can solve problems such as technology is not suitable for cost and complexity, achieve good user experience and improve efficiency

Inactive Publication Date: 2009-08-12
INSPUR GROUP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the current desktop applications, more and more emphasis is placed on user experience and user-friendliness. Traditional technologies are obviously not suitable or the implementation cost is relatively high and complicated. If Swing components can have behavior perception capabilities, self-learning The user's operating habits will inevitably reduce the complexity of development and improve the usability of desktop applications.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for making JCombo Box assembly have behaviour perceptive ability

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The present invention studies each component of Swing, establishes a behavior perception framework, and provides definable perception capabilities for all components. Taking JComboBox as an example, the content of the invention is described in detail. In order to solve the problem that the order of the existing JComboBox drop-down options cannot be automatically arranged according to the user's operating habits The present invention provides a behavior-aware JComboBox component extension, JComboBoxPa. This new component can not only automatically adjust the order according to the user's click rate, but also provide a preset parameter setting function and support persistent storage.

[0015] The technical solution adopted by the present invention to solve its technical problems is:

[0016] 1. Add a hotpoint attribute to each drop-down option in the drop-down list component JComboBox to treat each drop-down option differently.

[0017] 2. Use the event mechanism to add a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for making the JComboBox component have behavior perception ability. The method is to enable the original component to perceive the user's behavior habits, and make corresponding adjustments to itself according to the accumulated knowledge. The specific implementation steps are as follows: (1) Swing Add a hotpoint attribute to each drop-down option in JComboBox, which is used to treat each drop-down option differently; (2) Use the event mechanism to add a listener to monitor the change of the JComboBox option, and the hotpoint of the drop-down option will be increased every time the user chooses; (3) Provide a right-click menu for the user to set the currently used algorithm for adjusting the sequence. Including adjusting in reverse order according to hotpoints, recent visits first, and specified order. The default is the reverse order of hotpoint, and the most recent access is the priority. You can also set other options, such as persistent storage location, etc. (4) According to the user's algorithm setting, respond to the user's behavior, and adjust the order of the JComboBox drop-down options at runtime; (5) Automatically store the setting persistently.

Description

Technical field [0001] The invention belongs to the field of Java Swing application development, can be used for all Swing-based application development, specifically a method for enabling the drop-down list component JComboBox extension component to have behavior awareness Background technique [0002] Currently, Java-based desktop application development is based on Java Swing technology or extensions to Swing. Its ease of use and good design patterns make development highly efficient. In order to develop Swing-based desktop applications more efficiently Whether it is Sun or other Swing component manufacturers, Wuliang has extended it a lot, providing more component models such as TreeTable, data-aware capabilities, etc., but the content provided in all these components is defined at design time. After initialization, the runtime will not automatically adjust according to the user's behavior. For example, the order of the drop-down menu options in the drop-down list compon...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 刘向东庄文君
Owner INSPUR GROUP CO LTD