Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStepper?



We use this:

public class Spinner extends JScrollBar
{
Spinner()
{
super(JScrollBar.VERTICAL);
setPreferredSize(new Dimension(10,20));
setUI(javax.swing.plaf.basic.BasicScrollBarUI.createUI(this));
setValues(0, 1, -0x7fffffff, 0x7fffffff);
}
}

At 2:59 PM -0400 6/7/02, Adam N. Clayton wrote:
Is there any way to get the equivalent of NSStepper in pure Java?

I've tried using a JScrollBar with an extent of 0, but this looks bad
when scroll arrows are placed "Together" in the General prefs pane, and
does not fit the area no matter how I adjust the JSB's height. Maybe
Lee Ann knows of a property somewhere that I could set?

Thanks in advance,
-Tex Clayton
Dartware, LLC
http://www.dartware.com
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


--
-Joshua Smith
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.