Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NumericSpinner Component and mouseEntered Event

Status
Not open for further replies.

Watts

Programmer
Jan 18, 2001
80
US
This question refers to this component:
symantec.itools.awt.util.spinner.NumericSpinner

After adding mouseEntered event to this component, it seems to work backwards. You see every other component only handles the mouseEntered event if isEnabled()==true. The NumericSpinner handles its mouseEntered event when isEnabled()==false. Is this a bug in the component and if so, is there another similar component that can be used in place of the NumericSpinner?
 
This is not a standard Java Component so it is going to be hard to find help on a forum like this. A couple question for you. Do you know who developed this component? Can you contact them for support? Did you take a look at the Javadocs (or other documentation) for these components?

Sorry, I couldn't be more helpful. Wushutwist
 
How about a standard Java component that has the functionality of the NumericSpinner which is basically a text field with up/down arrows and minimum/maximum values?
 
I know the control you are talking about - in MFC it is called a spin control, but as far as I am aware Java does not have a component that provides this feature - you could try using a JList with only 1 visible row, and forcing it to display horizontal scrollbars - but its not quite the same is it?
bruce21.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top