• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Radio buttons versus Combo boxes ...

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ahhh, yes. I was reading slider and thinking scroll bar.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic