JSplitPane - disable dragging, keep one touch buttons

Hi, using JSplitPane to display two components and the one touch buttons are very useful for showing one or the other or both of them in a fixed ratio of size to each other. However the actual dragging of the JSplitPane just allows silly sizes to be set for the components so I want to disable the drag action of the JSplitPane bar but keep the onetouch functionality. The UI classes look complicated :-(
Anyone done this before?

Hi, using JSplitPane to display two components and
the one touch buttons are very useful for showing one
or the other or both of them in a fixed ratio of size
to each other. However the actual dragging of the
JSplitPane just allows silly sizes to be set for the
components so I want to disable the drag action of
the JSplitPane bar but keep the onetouch
functionality. The UI classes look complicated :-(
Anyone done this before?A quick solution might be to set the preferred size of the components so that no "silly sizes" can be set.

Similar Messages

  • SPA50X transfer with one-touch button

    Hi to All!
    Sorry for my English first! :-)
    I'm using SPA504G phones with IP-PBX ZyXEL X8004. One-touch buttons is configured as described in manuals: fnc=sd+cp+blf; sub=UserID@$PROXY
    Here is my problem: when I want to transfer incoming call to other extension by pressing desired One-touch button, it executes a BLIND transfer, not attended transfer. There's two interesting fields on SIP tab of the web interfacenamed 'Hold Target Before REFER' and 'Keep Referee When REFER Failed', but changing of values of them does not changing result.
    Please explain meaning of these fields to me, how it works and what should I do to retrieve ATTENDED TRANSFER by pressing One-touch button.
    Thanks a lot!
    Ruslan

    Hi Ruslan,
    For me to answer this question I would need to set up one in our lab and see if that works.  For that, I would suggest you to give us a call at 1-866-606-1866 at any time so we can create a case and assist you further.
    Meanwhile, you can try to turn off the Blind transfer (Phone-->Supplimenting Services) and that should allow the attendent transfer.  Then, add xferlx to the ringing key list.  So, while the call is either ringing or is connected, press the *xferLx line key. If only one other call is on hold, the active call is connected to the call on hold. Otherwise, the user is prompted to select the Line key to transfer the call to.
    Hope that helps.
    Sincerely,
    Alena Patterson
    Cisco Small Business Engineer
    CCNA

  • How to disable Satellite P750's touch buttons?

    I constantly have a problem with my computer that it turns up the volume by itself because it thinks I'm tapping on the increase volume touch button.
    Anyway, it's really annoying, so can I disable the touch sensors so it will stop doing it?

    Hi leavercleaver
    If you use original preinstalled Win7 check please if you can find this option in Toshiba Assist > Optimize > Toshiba Hardware setup > Button setting > Function button.
    As far as I know Toshiba hardware setup utility control BIOS option so what you can also do is to enter BIOS settings, check if such option is available there and disable it there directly.

  • How do I mute iPad 2 completely with a one touch button?

    I have switched to mute on 1. The physical mute switch, apparently only for notifications 2. The up, down volume button, pressing and holding the down button.
    Thinking that it's on mute, I clicked on a video clip during a meeting and Lo and behold, the clip played with sound! WTH! later I double clicked on the home button and the vol there was not on mute! Is my unit faulty?? And is there anyway I can fix a one step button to COMPLETELY mute my iPad 2? Don't want to check 3 steps just to make it mute.

    I am begging Apple to allow an additional audio setting for Mute All Audio Unconditionally. In my line of classical music work, I absolutely cannot be worrying about accidental music outbursts or alert sounds. I shouldn't have to use a dummy plug. Volume Off should simply mean Volume Off; I can't imagine any other audio device in the history of music playback equipment not working like this.

  • Canoscan 9000F One-Touch Buttons: What 'Registered Software Application' Do I Need?

    I have a Canoscan 9000F Mark II.  I'm trying to get the scanner buttons to work with it -- particularly the COPY button.  I've installed all available Canon software for Windows 7 (x64) for this scanner.  When I hit the COPY button, I get this dialog box:
    So I went into the Scanner Properties for the scanner and found this Events tab.  But for every scanner button including COPY, it says "No application is registered for this event."  It won't let me select anything other than Take No Action.  The other choices are grayed out:
    If I go to the original Canoscan 9000F (NOT the Mark II version) drivers and software page, I see this software called MP Navigator EX.  I installed that just for the heck of it, since none of the Mark II apps seemed to want to register as a "registered app" for this function.
    When I did that, it actually put that as a choice (the only choice) by Start This Program:
    I thought that would do the trick, but then when I hit the COPY button, I get this dialog box:
    So I figure that MP Navigator EX is missing from the Mark II download page for a reason -- it's for the original 9000F and is not compatible with the Mark II.
    OK...so...what IS compatible?
    What app do I need to "register" for this buttons in order for them to work?
    I'm completely stumped.  Someone please help; I'd greatly appreciate it.
    -Thanks

    So, I went through Canon Support. The rep not only had no idea how to fix the problem -- he first tried to deny that the problem existed at all, using phrases such as, "it SHOULDN'T need any other app in order to work," "you SHOULDN'T be getting that message from the Canon software," "it SHOULD work as long as you have the Canon Toolkit installed." Uh huh. Except that I obviously do, I am, and it doesn't.
    He was also completely unaware that there are TONS of forum messages and other posts on the Internet about the same or similar problem. Tons of them. A Google search came up with 193,000 results. The rep said that this is the first time he'd heard of anything like this. Which means he's either lying or blatantly ignorant.
    After about 45 minutes of repeating myself, and then finally pointing him to the pretty screenshots on this thread here (which he first, when I offered to give him the link, quickly dismissed as, "that won't be necessary,"), he finally decided that the problem was going to have to be escalated to the engineers.
    That was a week ago. Most likely my request just went into the round file and was quickly forgotten. I'll be VERY surprised if I hear back again on it. Suspect I'll have to call again, get another rep, and go through the same stupid routine all over again.
    Nice job, Canon. How about checking your forums once in a while? Do a Google search on this problem, for crying out loud. It's NOT an isolated case, by any means. It NEEDS to be fixed, and PRONTO!
    Ridiculous.

  • Unable to control one-touch Audio and Wifi Icons on - HP Pavilion DV6-1235ee

    Hello All,
    For a week or so, I am not able to enable/disable my Audio (even volume control) or Wifi buttons using the one-touch button (on the the same panel of power switch) in my HP Pavilion DV6-1235ee laptop.  I restarted few times and re-installed the chipset driver and input driver guessing it might help, to no result.
    I've not done anything strange in the computer but installed few application related to my job.  And I am not used to regularly shutting down or rebooting my computer but keep it locked.
    My OS: Windows 7 Professional X64
    Please Help
    This question was solved.
    View Solution.

    Hi,
    It's always worth trying a Hard Reset as follows.
    Shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold  down the Power button for 30 seconds.  Re-insert the battery, plug in the AC Adapter and see start the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • External USB Maxtor One-Touch 3  suddenly fails to mount on MacBook Pro:

    External USB HD suddenly fails to mount on MacBook Pro:
    My One Touch III 600GB drive, external power supply, suddenly will not mount and is not recognized by the system profiler or Disk Utility, however, drive, connected USB, appears under windows XP.
    1. Power cable and usb cable working.
    2. Using external AC adapter(not relying on USB power).
    3. Other USB devices, mice, flash drives work on both USB ports.
    4. Drive works on Windows, folders and data integrity ok.
    5. Drive format is NTFS.
    6. No Maxtor software installed.
    7. No humming or strange noises emanating from drive.
    8. No problem to January 14, 2008,
    9. Mac OS 10.4.10 updates last downloaded and installed Jan 20, 2008.
    10.1 blip of the light on "The One Touch Button", then light turns solid white.
    Questions:
    1. Does Apple set sleep or lock switch for devices (drives)?
    2. If so, can it be reset manually?
    3. Does Apple have configuration profile for devices, like a registry key?
    4. If so, where is it located?
    Configuration:
    Dual 2 GHz MacBook Pro 15”
    2 GB DDR SDRAM
    OSX 10.4.10
    2 USB Ports Left and Right

    NOTE: This Update is required when using a OneTouch Drive as a bootable device. Seagate suggests that you dismount and disconnect your FireWire Drive before continuing.
    Users have identified issues when connecting OneTouch External Drives to FireWire Ports on their Mac G4 and/or G5 computers. These Problems range from system hangs, kernel panics to slow data transfer rates. The cause of these problems has been traced back to the FireWire Driver. Seagate has resolved these problems through updated FireWire Drivers.
    I am using USB and not trying to use drive as a boot device.

  • Maxtor One Touch II USB/firewire Ext HD  won't mount

    The drive shows up on the bus, but does not mount, and also does not show up with Disk Utility. I've taken it to the Apple Genius Bar and they couldn't find the problem, and said they only had 15 minutes to dedicate to me anyway. The drive didn't show on their MBP either. I've had this connected to my G4 for the past year, with no problem, and it still functions just fine there.
    As another note, my Canon G6 Powershot, which has previously mounted on this machine (The MBP) via USB, no longer does. I can download photos directly into Iphoto, but the drive never mounts to the desktop.
    I've tried both the USB and Firewire options with my external, with the same results. I need to download my photos from the MBP to the external, as it's getting pretty full. I noticed in another forum that FWT mode was not working with non-Intel macs prior to 10.3.9. but it's still not working between my G4 and the MBP.
    I know there are several issues here, but was hoping someone could help me sort them out if I dump the whole scenario.
    Any assistance would be greatly appreciated.
    Macbook Pro   Mac OS X (10.4.7)   1.83GB w/ 1GB DDR2 SDRAM
    Macbook Pro   Mac OS X (10.4.7)   1.83GB w/ 1GB DDR2 SDRAM

    I have a one touch II that I purchased to use to backup and store files for my mbp.
    Mine mounted correctly, but the one touch button did not work. After trying to fix it myself, I called the Maxtor tech support, and they said that they don't support using their drives or their software with intel based macs. Of course they only told me that after spending a long time on the phone.
    So the only advice I can give to you is to not try Maxtor's tech support; it will be a waste of time.
    Or perhaps your USB ports are broken and need to be replaced on your mbp.

  • One touch to clear Finder?

    Back in OSX 10.3, there was a one touch button command that would clear all the open documents and applications to reveal the Finder. It was very useful to locate something kept on the Finder, and eliminated moving things around to see behind them.
    In OSX 10.5, there is the F3 button, which reveals all open pages and applications.
    Is there a one-button command to reveal the Finder?
    Best regards, Isshi.

    in system preferences go to expose + spaces, check that "show desktop" is set to "f11" next go to the main system pref meu and go to "keyboard and mouse". Check that Use all f1, f2 keys as standard function is ticked. should work now.

  • JSplitPane divider (One touch expandable)

    Hi all,
    I am having some problems with the JSplitPane divider. I am using onetouch expandable.
    I want to stop the divider moving all the way up to the top of the window when the up arrow is clicked on. When you drag the divider up it stops near the top but doesn't go all the way up. but click on the up arrow on the divider bar and it rises completely to the top. How can I stop this from happening.
    I have managed to add an action listener to the buttons on the divider bar, In the action listener I do the following - splitPane.setDividerLocation(0.1);
    splitPane.updateUI();
    This works but then an exception is thrown -
    Exception occurred during event dispatching:
    java.lang.NullPointerException
         at javax.swing.plaf.basic.BasicSplitPaneDivider$OneTouchActionHandler.actionPerformed(BasicSplitPaneDivider.java:916)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent(Component.java:3717)
         at java.awt.Component.processEvent(Component.java:3546)
         at java.awt.Container.processEvent(Container.java:1167)
         at java.awt.Component.dispatchEventImpl(Component.java:2595)
         at java.awt.Container.dispatchEventImpl(Container.java:1216)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2458)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2223)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2132)
         at java.awt.Container.dispatchEventImpl(Container.java:1203)
         at java.awt.Window.dispatchEventImpl(Window.java:918)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
    Can anyone help me out?
    thanks,
    Paul.

    I have partial solution to the above problem but in doing so have encountered another problem that I can see no solution to. Can anyone help?
    I have a calss that extends BasicSplitPaneDivider and in this calss i overide the OneTouchActionHandler with a version that sets the top value to be the top of the frame + the height of the component I want left shown. My problem is that this code never runs. The origional OneTouchActionHandler in the BasicSplitPaneDivider runs not my version. How can I get my version to run.
    The version in BasicSplitPaneDivider is protected.
    This code never runs.
    <pre>
    * Listeners installed on the one touch expandable buttons.
    public class OneTouchActionHandlernew implements ActionListener {
         /** True indicates the resize should go the minimum (top or left)
         * vs false which indicates the resize should go to the maximum.
         private boolean toMinimum;
         OneTouchActionHandlernew(boolean toMinimum) {
         this.toMinimum = toMinimum;
    public void actionPerformed(ActionEvent e) {
    Insets insets = splitPane.getInsets();
         int lastLoc = splitPane.getLastDividerLocation();
    int currentLoc = splitPaneUI.getDividerLocation(splitPane);
         int newLoc;
         // We use the location from the UI directly, as the location the
         // JSplitPane itself maintains is not necessarly correct.
    System.out.println("The action listener is being used ");
         if (toMinimum) {
              if (orientation == JSplitPane.VERTICAL_SPLIT) {
              if (currentLoc >= (splitPane.getHeight() -
                        insets.bottom - getDividerSize()))
                   newLoc = lastLoc;
              else
                   newLoc = insets.top + 40;
              else {
              if (currentLoc >= (splitPane.getWidth() -
                        insets.right - getDividerSize()))
                   newLoc = lastLoc;
              else
                   newLoc = insets.left;
         else {
              if (orientation == JSplitPane.VERTICAL_SPLIT) {
              if (currentLoc == insets.top)
                   newLoc = lastLoc;
              else
                   newLoc = splitPane.getHeight() - getHeight() -
                   insets.top;
              else {
              if (currentLoc == insets.left)
                   newLoc = lastLoc;
              else
                   newLoc = splitPane.getWidth() - getWidth() -
                   insets.left;
         if (currentLoc != newLoc) {
              splitPane.setDividerLocation(newLoc);
              // We do this in case the dividers notion of the location
              // differs from the real location.
              splitPane.setLastDividerLocation(currentLoc);
    } // End of class BasicSplitPaneDivider.LeftActionListener
    </pre>

  • One touch access setting disable

    hi all
    i hav problem with pc suite.my laptop os is vista home and i m using latest pc suite for internet connection n73 as modem.in one touch access setting button is being disable.due to that i m not able to use another option.some time i need to use usb cable for connection.
    any body have idea for this plz help me.....

    Thanks for reply!
    I've already tried that many times. Nothing appeared like bluetooth modem found. I also uninstall both bluetooth driver and PC suite. Still cannot! Can someone give me a further answer?
    3310, 3120, 3220, N80IE, O2 Atom Life, N95 8GB, LG Viewty, SE W890i,
    current phone: N95 8GB

  • Information needed: Disabling front-facing touch buttons for full Kiosk mode

    I am wanting to create a kiosk using the ideacentre A300 series. I can configure Windows 8 to function like a kiosk, but I can't get the physical buttons on the computer to either turn off, or to disable temporarily (I realize the buttons cannot be configured by windows).
    If anyone has any information regarding this request or if they have any information in regards to what type of touch interaction the display has (touch sensitive by heat, pressure, etc.).
    Thanks!

    I am wanting to create a kiosk using the ideacentre A300 series. I can configure Windows 8 to function like a kiosk, but I can't get the physical buttons on the computer to either turn off, or to disable temporarily (I realize the buttons cannot be configured by windows).
    If anyone has any information regarding this request or if they have any information in regards to what type of touch interaction the display has (touch sensitive by heat, pressure, etc.).
    Thanks!

  • How to disable when one radio button is selected

    Hi Folks,
    One of our requirement is as follows,
    Scenario: We have two columns with radio buttons and two dropdown box for the same columns to select the values.
    Requirement: When user select one radio button then the other radio button and its relevant dropdown both is disabled.
    Radio Buttons:
    Company
    EmpNo
    Dropdown Box:
    Company
    EmpNo
    If CompName Radio button is selected then Radio Buttom and Dropdown Box for Policy Id is disabled.
    Finally, The filter is applied on CompName to populate the values in dropdown
    Thanks Guys,
    KK

    look for a function like setActive or setDisable

  • I would like to answer the phone with one touch using the speaker button

    I would like to answer the phone with one touch using the speaker button?

    this is a user helping user forum if you wish to request/advice or complain to apple you will likely have more success using the feedback channel
    http://www.apple.com/feedback/iphone.html

  • Iphone one touch is disabled

    my 2 year old daughter is playing my phone . . .
    i dont know what happened or what she just clicked . . .
    suddenly a voice came out on every thing that i would do . . .
    there is no one touch access to everything . . .
    i have to double click everything just to go inside every folder and everything i do, a voice will tell you what folder you are in . . .
    or what page you are in . . . i want to revert all of this back to itz original state . . . no voice promts anf one touch sensor to operate any apps...
    anyone can help me here . . ?
    thank you so much,
    dwyer

    Do above. But to get to the settings:
    DOUBLE-TAP Settings
    THREE-FINGER SCROLL to navigate
    DOUBLE-TAP General
    DOUBLE-TAP Accessibility
    ...etc, etc, etc

Maybe you are looking for

  • I just downloaded an album from a gift card, and not all the songs were downloaded..how do i finish downloading the album without purchasing it again?

    I just downloaded the T-Pain rEVOLVEr Album from a gift card, but not all the songs were downloaded to my library. Is there a way to finish downloading the remaining songs without purchasing the entire album?

  • The future of Java 3d

    Hello all. I thought about learning some Java 3D stuff and was browsing around and I've got a couple of questions: - What exactly is JOPL? - Is Sun activly pushing Java 3d? - Is Java 3d a required skill in today's market? I just don't want to invest

  • Slow down in Java printing

    I'm printing a huge file in java by breaking into smaller chunks. Initially it sppols at good speed. But as time goes by It slows down. It starts of by spooling a page in a sec but after a 50 jobs it's taking 5 seconds/page. Could some tell me why th

  • Automatic trigger of WBS user status

    Hi Guys, I have scenario here WBS Element--> User status phase I WIP, Phase I Complete, Phase II Wip.... Network Header Phase I Activity 1 Activity 2 Activity 3 Activity x--> When confirmed should trigger WBS user status to Phase I complete Network h

  • Pav. dv3888nr horizontal line on DVD image and other glitchy things

    Whenever I play DVDs I have problems. Lately, its been a horizontal line or split across the DVD image.  I also get all kinds of burps and hiccups, and picture separation from sound that is usually solved by tapping in the mousepad.  (Weird!) This gi