Results 1 to 2 of 2
  1. #1
    Digital Larry is offline Member
    Join Date
    Mar 2013
    Posts
    87
    Rep Power
    0

    Default Having one control update another one

    As usual, I realize this is probably trivial, and I'm just looking for a simple example to follow.

    I have a dialog which contains a dropdown box with various range selections (e.g. 0.1 to 5.0, 1 to 50, 10 to 500, 100 to 500). Then I have a JSlider in that same dialog whose visible scale I'd like to update whenever the range is changed. That's it!

    Thx,

    DL

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    19,966
    Rep Power
    31

    Default Re: Having one control update another one

    What have you tried? Post your code and ask some questions about any problems you are having.
    Be sure to wrap the code in code tags.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 0
    Last Post: 11-22-2013, 05:19 AM
  2. Update Function won't update!
    By Indigrace in forum New To Java
    Replies: 3
    Last Post: 02-05-2013, 01:49 PM
  3. control where tab go in gui
    By aznbottle in forum AWT / Swing
    Replies: 2
    Last Post: 06-04-2011, 02:15 AM
  4. Control on exe
    By jazz2k8 in forum New To Java
    Replies: 3
    Last Post: 08-14-2008, 02:06 PM
  5. control app width based on certain control
    By thebillybobjr in forum SWT / JFace
    Replies: 0
    Last Post: 05-15-2008, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •