This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Radio buttons versus Combo boxes ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Radio buttons versus Combo boxes ..." Watch "Radio buttons versus Combo boxes ..." New topic
Author

Radio buttons versus Combo boxes ...

Jack, Wang
Greenhorn

Joined: Sep 30, 2001
Posts: 1
When would we use radio buttons versus Combo boxes and What kind of UI would need a slider ?
What is the most flexible form of LayoutManager ?
[ August 02, 2002: Message edited by: Jack, Wang ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
When would we use radio buttons versus Combo boxes [/b ]

Depends on what you want your UI to look like.

[b]and What kind of UI would need a slider ?


One where the contents are bigger than the view.

What is the most flexible form of LayoutManager ?

GridBag


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
The "slider" also comes in handy when you have a continuum of values that you'd like the user to choose from. For instance, if your program allowed the user to specify a background color, you might provide three sliders - one to select the level of each color (red, green, blue) to display. The slider's range of values might be from 0 to 255. You might have another slider for the user to specify the brightness, or the contrast.
A slider might work well to simulate features that in the real world (the one aside from computers) would otherwise be an analog input device (such as the volume knob on a stereo).


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Ahhh, yes. I was reading slider and thinking scroll bar.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Radio buttons versus Combo boxes ...