JSlider - can limit / stop knob from being dragged?

Hi all,
Is there any way to disable the knob on a JSlider to stop the user dragging it past a certain point? Am using state changed event to reset the value to stop it being clicked past a point, but it can still be dragged. Help!
Thanks

That's not what it's meant for, but you can tweak setExtent (...) to prevent the slider being dragged beyond (max - extent).
A caveat: calling setExtent with an argument greater than (max - value) will result in the extent being set to (max - value).
db

Similar Messages

  • How can I STOP Firefox from being a glutton with my virtual memory?

    How can I STOP Firefox from being a glutton with my virtual memory?

    Yes. But, I see from the THOUSANDS of responses here concerning Firefox memory issues that other people have had no more success than I have at trying to STOP Firefox's memory gluttony. The fact that Firefox runs fine (like the good old days) for a while after re-booting and registry cleaning shows that something is going on beyond the trivial/ineffective suggestions offered in the referenced links.
    Having to re-boot several times a day to get Firefox out of the molasses is such a pain, that it's no wonder people are going back to IE, or like me, reluctantly relying more and more on Google Chrome.

  • Can I stop email from being sent?

    I have a number of email accounts configured in outlook 2010.
    I want to prevent email from being sent via one of the accounts.
    CAN I do this?
    If so How?
    I have tried to change the SMTP address to be invalid.
    It does not send, and does not give me an error.
    When I close outlook it tells me emails have not been sent. I have no idea where these emails r.
    When I restart it, it resets the smtp address and sends the email.
    ruggb

    thx for the reply
    The problem I am trying to work around is ppl using outlook try to send/reply/fwd emails using those old addresses. Outlook must be configured to rcv mail from clients using those addresses. So if the old email address is set as FROM I want to stop it from
    being sent.
    if i set the smtp address to an invalid the test never completes and I can never get to the end of that wizard.
    If I go back and look at it it is still the invalid address after I cancel the wizard.
    If i try to send mail it appears to do it after a long pause and i can't find the email anyplace -but it is not sent.
    If i shut down and restart outlook it is back to the valid address and the mail gets sent.
    I have it set only rcv, not send, that address in the group but that doesn't work.
    ruggb

  • How i can i prevent Apps from being dragged out from dock?

    Before Mavericks i once applied some switch via command line that prevented removing Applications via dragging out.
    But this way it still allowed changing the order or still allowed remvoing via right-click menu.
    Sadly i cannot find the command anymore and all solutions i found after googling use the immutable boolean which results in a completely statically locked Dock. But this is not what i'm looking for.
    How can i specifically disable the drag-out removal of Apps from the Dock?
    Thanks!

    You can't. You can only "hide" them.

  • HT201363 Well my used to be best friend used his email to make answers to my account since I never made one yet, how can I stop him from being connected to his email for my apple id account witch I can access from my email but can't download stuff anymore

    I just want to remove his email from apple id and change it to my other email so I can have my secuity answers for my Apple Id account. Plus it says
    Forgot your answers? Send reset security info email to S•••••@hotmail.com. That email is my used to be best friend's account.P.S I didn't set up security and answers at all, he's using my account so he can only downlaod stuff and I can't..! how can I also disconnect him from using my account from his 2nd gen Ipod Touch...?
    Message was edited by: Canadalover999

    Hi Canadalover999,
    Thanks for visiting Apple Support Communities.
    In this instance, you may want to contact Apple for help with your Apple ID:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Regards,
    Jeremy

  • How can I stop email from being deleted on computer?

    I upgraded from a 3gs to a 4s today. Everything is working fine except my email. On my 3gs I had my email set up to never delete from the server that way I could delete the mail on my phone but not on my computer. With the new 4s I can't find the never delete from server option.  Can anyone help me?  It's a hotmail address that I'm using.
    Thanks in advance for your help!!!!!
    ~Lubs

    Look in Settings>Mail, Contacts, Calendars>tap your hotmail account>Look through the settings (usually under Advanced)

  • How can I stop text from being show when I print it?

    You can see the webpage I am working on here: http://www.peterforkes.com/Resume.html
    I created a staylesheet called "print.css" and added the following lines to my Resume.html file:
    <link href="_css/Resume.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="_css/Print.css" rel="stylesheet" type="text/css" media="print" />
    In my Resume.html file I have a link that will print a PDF of my resumé.  However, if you print the resumé then I do not want the link to print the resumé to be shown.
    In the print.css I created the following class:
    .doNotPrint {
    color: #FFF;
    I applied the class to the 'offending' text, thus:
    <p class="doNotPrint"><a href="PDFs/Peter A. Forkes - Resume.pdf">Resume.pdf</a></p>
    however, it does not seem to have any effect.  I am assuming (since the background is white) that changing the text color to white should make it invisible.
    If you can suggest either how to make my method work (or suggest a better method) that that should mean that I have finished everything I want to do with my webpage.
    Thanks,
    Peter

    I am assuming (since the background is white) that changing the text color to white should make it invisible.
    The problem with the CSS is that you've targeted the <p> tag with the rule, not the <a> tag so it has no effect. Normal text in that paragraph will print in white but links will display in #333 because of your rule on a:link and a:visited
    Nevertheless, I would avoid those tricks in case you incur the displeasure of the search engines. They're widely used by spammers and are punished accordingly (even though I know we're talking about a print stylesheet and your intentions are honourable :-).
    In your print stylesheet, change
    .doNotPrint {
    color: #FFF;
    to
    .doNotPrint {
    display:none;

  • How can I stop conversations from being linked together in Mail? I don't like that feature.

    I don't like that conversations are linked together in mail. It always scares me that I sent something to someone who it wasn't intended for. Sometimes the conversations are relevant but most of the time one email has absolutely nothing to do with another email so I don't see why they are linked together. I have looked all through the mail preferences but I don't see any options to change it.
    Does anyone has the same thoughts and any solution?

    Yes this worked! Thank you! Also sometimes my mail completely disappears  and then it comes back but I'm not sure why it does that and sometimes the search feature works and sometimes it doesn't.

  • How to stop the Dialog from being dragged

    I was hoping that someone could tell me when calling a Dialog from Jframe, a how to stop the Dialog from being dragged
    while a dialog is showing.
    When it is visible I can still click and drag the Dialog
    I want to set it so you can not drag it until the dialog has be closed.

    If you don't have access to the parent frame, a "hack" that usually works:
    Frame frame = Frame.getFrames()[0];
    if (null != frame && frame instanceof JFrame){
    JFrame jf = (JFrame)frame;
    JDialog jd = new JDialog(jf, "title");
    ... code here ...
    As each JFrame (or Frame) is opened, its stored in the array of Frames that you can get. Same thing with Dialog.getDialogs(). Almost always, at least so far for me I've never had this problem, the [0] index is the main window opened, or the parent/top frame. I'd put the check in there to be safe and make sure its a JFrame and usually you'll only have the one JFrame.

  • How can I stop iPhoto from reidentifying faces I have already 'crossed', while still being able to identify and sort new faces.

    iPhoto has detected faces of people I dont know, in my 'iPhoto faces' whenever I click the cross in the corner of the face (when sorting faces) the face temporarily disappears, but once I have uploaded a fresh batch of photos (and want to identify new faces) it automatically re-identifies the old photos that I don't want to have to sort again. How can I stop iPhoto from reidentifying faces I have already 'crossed', while still being able to identify and sort new faces.

    Thank you, that makes sense (I think!) However, I need to be able to tell iPhoto who the people identified in my photos are, does that make sense? How do I identify the people in my new photos without clicking 'find faces'. I know that button searches through my photos to find faces, but it also gets me to the place where I identify the faces as my friends and family, is there a shortcut to get to that place without clicking 'find faces'? That is what I really need, please help!!

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

  • I feel that Apple. mac. Safari is selling out available Space on every search, and, or, we consumers are being saturated with junk mail. can't block it can't stop it from happening. Help

    I feel that Apple. mac. Safari is selling out available Space on every search, and, or
    we consumers are being saturated with junk mail. can't block it can't stop it from happening. Help

    You can use junk mail filters but setting the criteria can be a problem.
    A very good tool for blocking adware is available from Thomas Reed's site http://www.thesafemac.com Thomas is a regular contributor on ASC and a good helper.

  • How can i stop icloud from downloading all my photos onto my iphone 4s each time I sync. Then, how do I delete them from my phone, there are no delete options. I'm slowly going crazy.

    How can i stop icloud from downloading all my photos onto my iphone 4s each time I sync. Then, how do I delete them from my phone, there are no delete options. I'm slowly going crazy.

    Hi iprover,
      Let me first say that I am NO EXPERT with anything Apple and really have only started looking into this iCloud stuff a few hours ago because I'm trying to help my mom free up some space on her iCloud. But anyway, here's what I'm learning and what I THINK might be happening to you.
    Also, if any Apple support people (do they browse the forums to dish out helpful hints?) or people who probably know infinitely more than me about this stuff, please do chime in and confirm / correct my statements!
    This is what I gather.
    iCloud for Windows is set up with a local folder (let's call it "C:\Users\Administrator\Pictures\iCloud Photos\My Photo Stream") where iCloud will store photos uploaded to the Photo Stream. This will allow you to view your Photo Stream photos on your PC.
    This does not mean that this is a PC backup of your Photo Stream photos, but just a way to view your Photo Stream from your PC. That being said, the general Photo Stream rules apply: 1. No videos are on the photo-stream, and 2. Photos on the Photo Stream will be removed after ~30 days and/or after hitting the Photo Stream limit of 1000 photos.
    My guess is that the iCloud Windows App will delete photos from the local folder that are older than ~30 days and/or delete all but the most recent 1000 items if the 1000-item limit is reached.
    That is a scary thought! I really hope you did not lose all your pictures, but my guess is that the iCloud local folder is NOT meant for backup but instead is the iCloud Windows App's sandbox for updating and managing Photo Stream photos.
    All that being said, I'd say it's important to back up your photos in a separate folder not related to the iCloud local folder.

  • How can I stop Firefox from opening (to "File Not Found") when opening my Opera browser?

    Ever since I installed Opera 10.61 on my new computer (Windows 7 Ultimate operating system), whenever I open Opera, Firefox opens one second later with the following error message:
    '''File not found '''
    Firefox can't find the file at /C:/Users/Nasheed/AppData/Local/Opera/Opera/temporary_downloads/client-en.xml.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.
    TRY AGAIN.
    <nowiki>****************************************************</nowiki><br />
    This happens EVERY TIME I OPEN THE OPERA BROWSER. How can I stop this from happening? I'm stumped.
    [EXTRA INFO - I was unable to enable Firefox to access my previous profile on the new computer (despite putting the old profile in the appropriate Mozilla Firefox folder. So, there are now two profiles in that location.
    After reading the answer to another forum member's question, I attempted to resolve the problem using Profile Manager, but I was unable to locate the Profile Manager. The Windows "Search" feature is not enabled on my new computer (nor can it be enabled from the Customize Start Menu options).]

    Thank you for your response, Cor-el.
    I had Opera set as my default browser since this began happening. I changed my default browser back to Firefox mainly because having Firefox open one or two seconds every time I open Opera was/is such a nuisance.
    I believe this problem began because I attempted to manually transfer the files from my old computer to the new one (via the backed up files in my external drive). I was unfamiliar with Windows 7 when I did this. Microsoft changed the file set up from what I had been used to in Windows XP. I used XP for six years before being exposed to Windows 7 (I never had Vista).
    I'm almost sure this problem has something to do with where I placed the application data when I was trying to reestablish the program set up on the new computer.

  • When syncing iPhone 5s pictures, how can I stop it from backing that album up on my phone?

    When I'm syncing my phone to my laptop, how can I stop it from adding a backup album back to my phone?

    Foxolini wrote:
    I want to delete songs off of my computr because it's taking up unnecessary space, but how can I do this without them being removed from my iPhone when I sync it next?
    As given, removing from the library causes the songs to be removed during sync. So the space taken up is neccessary... What would you do if your iPhone where lost, stolen, damaged or needed to be restored?
    If you ned more room for storage buy a bigger drive. In fact buy two, one to use as a backup for your library and all your other important files.
    tt2

Maybe you are looking for

  • ** Is it possible to create new BPM instance for each record (Multiline)

    Hi friends, In my scenario, JDBC adapter (sender) polls the open purchase order items from the table at the specified interval and send to BPM. In BPM, we used transformation step to split the messages to process each PO . The scenario is working fin

  • Quality problems when burning 25fps as NTSC

    I have a film that was shot on 24fps - transferred to 25fps and that I now want to make NTSC dvd copies of. They come out looking not great when I tried. I export them using uncompressed 8-bit 25fps and pal 720x526 in the quicktime conversion from fi

  • Is there a way to Proof Colour within Elements

    Our Camera Club  and all those within South Africa project images for judging Salon Entries using IrfanView which is not colour proofed. Entries edited in CS are able to Proof Colour but I have not found a way to do this within Elements. Any informat

  • How to password protect?

    How can I password protect my router? Can I use this site?

  • Proxies for third party

    Hey guys is it possible to create proxies for third party if i have WAS>6.2? suppose we are doing a File to IDOC scenario and have WAS>6.2 then is it possible to do it like Proxy(file)-XI-Proxy(IDOC) or i cant generate any proxies for Flat files? tha