File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JWhat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JWhat" Watch "JWhat" New topic


Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
I'm looking for some JComponent to do this: I want to have a component like what I've seen in, for example, a printer driver. You use it to tell the computer how many pages you want to print. It consists of a window which shows you an integer which represents how many pages you want to print, and an up-arrow which increments the integer by 1 when you click it, and a down arrow which subtracts 1 from the integer when you click it. The up and down arrows are arranged vertically, and next to the integer window. Microsoft Word has that in the page size setter to set the text margins. Do you know what I mean? I don't know what it's called, so I'm describing it.
What class in Java can do this?
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
Thank you.
I agree. Here's the link:
subject: JWhat
It's not a secret anymore!