JSplitPane always jumps to center

I have a JSplitPane, which is split vertically. On the right i display textboxes and tables, which could be dragged to a new position by the user. Therefore i'm not using a layout manager and setting location and size for each component with setLocation and setBounds. But every time the user has dragged and dropped a component the right part of the SplitPane centers. With other words: The user goes to the right by using the horizontal scrollbar of the right part of the SplitPane. There he draggs and drops ie. a table to a new position. After dropping it the SplitPane jumps automatically back to the middle. Of course this should not happen. How can i avoid this?
Thanks,
Robert

Well, I'm guessing that you need to set the preferred size of the panel in the right side. This is normally done by the layout manager, but since you aren't using one...

Similar Messages

  • OSX Yosemite: I can not move the icons on my display. They always jump to an other position

    Hello,
    I updated my OS X to Yosemite last week.
    First problem: Since then, I can not update several applications any more. Yestersday, there where 5 updates: iMovie, iPhoto, Keynote, Pages and Numbers. iMovie and iPhoto updates were ok, but for the other 3 I received a message ""Update Unavailable with This Apple ID.This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled"". As far as I know, I was never refunded, or I never cancelled an app that was originating from Apple. I even don't know how to di it !!
    Second problem: I can not move any more the icons on my display. And sometimes thy are moved to an other position after start. For example: the Mackintosh HD and the external Time-Maschine HD were always in the right upper corner on the display. This morning, after starting, they were in the left lower corner!! No way to slide them back to the other side. They always jump back to the lower left.
    HEEELLLPPP !!

    Hello,
    Performance tip: Keep the Desktop clutter-free (empty, if possible) by: Klaus1
    Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
    Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
    Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
    And it is why Apple invented 'Stacks' for Leopard.
    Keep your Desktop as clutter free as possible!
    Carolyn

  • After updating to latest version mavericks , screen is always jumping to mail home desktop screen,no matter wherever i am in?

    Screen is always jumping back to desktop homescreen after updainng to mavericsk os.

    This thread will help you to get rid of this failure:
    https://discussions.apple.com/thread/5526061?start=0&tstart=0
    The problem is google drive. You can turn off and not use it or you can apply this suggestion
    " If you want to keep using it, the problem has to do with the file sync status option. Open Google Drive preferences and turn off "Show file sync status and right click menu". This way, you'll be able to keep using Drive without the aggravating crashes every 60 seconds."

  • Curser always jumping back to the top of page

    My curser is always jumping back to the top of the page.  I will be half way down the page and it just jumps right back to the top.  Is this a setting I can change?

    The other problem occasionally seen is a swollen battery.
    This can push up against the bottom of the trackpad and make it wonky, but usually the result is RANDOM movements.

  • ITunes 8 Always Jumps to the Top of my Music Library After Search

    So I've upgraded to iTunes 8, but I've encountered an annoyance not present in past versions. When I use the search function for something, find it and click on it, and click the 'X' to clear the search box, iTunes always jumps to the top of the my music list. Of course I can hit Ctrl + L, but this is a really unnecessary nuisance. What's the deal; is there any remedy?

    You can't sync music not obtained from the iTunes Store currently on your phone to the iTunes library on your computer. Assuming this music  on your old PC, your only choice is to copy it from your PC to your Mac.  Otherwise, SOL.

  • When I change the position of the bookmarks button it always jumps to the same position (in the bookmarks bar). How can I make it stay where I want it to?

    When I try to change to position of the symbol for the bookmarks it doesn't matter where I put it, always when I click on "Finish" the button jumps back in the middle of the bookmarks bar, right of the bookmarks and left of two addons (FoxyTunes and Forecastfox).

    Sorry, that specific Bookmarks button ''(with the drop-marker down arrow or '''bookmarks''' word)'' is tied to the Bookmarks Toolbar when it is shown, and only appears when the Menu bar is hidden and the Firefox button is showing. It is not a "regular" toolbar button.
    There is the original Bookmarks button, in the Customize Palette, which toggles the Bookmarks Sidebar view. It will stay where you put it on the Toolbars.

  • Mini Player always opens in center of screen

    When I used iTunes on a Mac, I could move the Mini Player to another part of the screen, and iTunes would remember. With iTunes for Windows, the Mini Player always opens in the center of my screen.
    Jim

    When I tell my Doc, "It hurts to go like this," he says, "Then don't go like this." So my cure for the Mini Player Blues is not to use it. No one seems willing or able to assist me, so I will solve the issue.

  • Dynamicly set y axis on graph with 0 always being in center

    i have a report that i want to dynamicly set the y axis as the values change from contract to contract. but i want to maintain that 0 will always be in the center of the graph.
    if i use the auto range and auto scale it shifts 0 away from the center.
    any ideas?

    Don't use auto range?
    Sorry, I don't mean to be a smart-alec, but Crystal's charts are not very flexable. I understand they are working on it.
    Debi

  • GridBagLayout always starts in center

    Hi,
    I'm programming a Application here which is a JFrame, that has a JTabbedPane "inside". All tabs add classes that are extenden from JPanel. Those classes using GridBagLayout.
    My Problem is, that all Components inside the JPanel are starting in the absolute Center of the Tab.
    The JFrame uses BorderLayout and the from JPanel extended classes using the GridBagLayout.
    What is wrong?
    Thank you very much for all your help :)
    LoCal

    Yes, GridBagLayout stinks in a lot of ways.
    But, what you want to do is to wrap the panel
    (govered by the GridBagLayout) inside another
    panel which is goverened by a BoxLayout.
    Lock the outer panel to its preferred size
    (which will be its content's preferred size.
    THEN, you can place the outer panel
    (the one governed by the BoxLayout) into the
    frame using desired alignments (top, left, etc.)
    You see, the problem you are having is that
    panels governed by GridBagLayout always will
    expand to fill the size of their containers,
    even if you try and lock them to their preferred
    sizes. BoxLayout, on the other hand, will
    respect the size you set it to., and will not
    expand to fill its container. This allows
    you to then do things like align it and it will
    obey.
    You'll need to use the methods get/setSize(),
    get/setMaximumSize(), get/setMinimumSize(),
    and getPreferredSize(). May need to call all
    of the set methods. I've had most luck with
    specifying all of them.
    b.c

  • Modem always jumps from V.92 to V.34.  Is that normal?

    I've had a G4 Mini almost a year. I can always connect at 52000 or 53333 with any of several dialup numbers. Sometimes I can maintain full speed for hours, and this computer has never dropped a connection after logging in.
    The problem is that it has never dropped back 5-10% like other modems I've had. When it drops back, it drops back 39% to V.34. If I'm on a big download that can't be interrupted and resumed, I have to do it at the speeds they had before 56k.
    Is it normal for a Mini to be so extreme in dropping back? If it is, I'd like to find out how to use one of my old external modems. If it's not normal, would it be a hardware or a software problem?

    I've found in especially rural areas, that line noise
    can increase with the duration of a 56k connection.
    A good way to stop that line noise in the tracks is
    to ask the phone company to run a line test on the
    line.
    I don't think noise increases, but each time noise interferes with the data, the modems may reset to a slightly lower speed. Where noise is a problem, the speed may eventually drop so far that it pays to redial. Before I got my Mini, I'd never had a modem that dropped from 52 to 33 in one jump.
    I live 400 yards from the telephone office. That proximity and my attention to the wiring in my home allow me consistently to connect at 52000 to 53333 with any of four numbers. To check for noise I can dial 1 and listen on a phone. Checking milliamps with a meter will tell me if I have any corrosion in connectors.
    On my end, if a neighbor gets a phone call, crosstalk from the 100-volt ring signal can set my speed back. On the remote end, it can happen when there's a lot of traffic on the server. It's worse during prime time, especially during weeks when kids are out of school. It gets worse near the end of each hour. Then, at the top of the hour it improves. Apparently it's because a lot of people log off to see the beginning of their favorite TV show. Still, with modems I had in the past, I was still in good shape because if speed dropped, it would be only a few percent.
    I've never seen the modem in my Mini drop just a few percent. When it drops, it goes all the way down to V.34. However, until a couple of weeks ago, it was pretty good at staying at V.92.
    Things changed when I updated to 10.4.9. Now during periods of high traffic I may not be able to stay on V.92 more than 3 minutes. If I want to see a 1.75 MB pdf with V.92, it's 5 minutes, but it's 8 minutes with V.34. I downloaded the 10.4.9 update in 4 hours. It would take 7 hours now.
    The 10.4.9 description says, "Internal Apple modem drivers now offer the same robustness as external Apple modem drivers." They're both Motorola soft modems, but Apple's USB modem has caused users a lot of trouble, presumably because USB is an added complication for having the CPU act as a modem. Apparently what Apple means by "robust" is to have the CPU act as a V.34 modem at the first hint of trouble, and now they've decided to do this to those of us with internal modems, too.
    I regret updating. I bought the Mini with a V.92 modem, but now they've changed it to a V.34. Replacing the appropriate file in the System Library might cure the problem, but I don't know any way to get help from Apple to undo what they've done. The company seems like Marie Antoinette: "Let them eat cake."

  • First track always 'jumps'

    I am having a problem where when I upload a CD there always seems to be a jump/scratch about 10 to 30 seconds into the first track.
    It doesn't happen on any of the remaining tracks.
    Any ideas how I can stop this happening ?

    I've had this issue with some tracks - though more random than what you are experiencing. My suggestion is to make certain that you are not doing anything on your PC when ripping CDs.

  • Photoshop CS4 always opens off center

    Everytime I open Photoshop CS4 the center window appears "off center", sometimes waay down and to the right. The menus pop up in the right place but the center comes on messed up. Is there a fix for this?

    I take it back, it did work. The PS help led me astray at first but I tried a diff. way to reset prefs and now it works, thanks!

  • Thumbnail view always jumps to the wrong position

    My problem:
    After looking at photos by double clicking them and closing them afterwards, the thumbnail of this picture always moved.
    For example the photo was in the middle of a list I view. After looking at it it is always in the first row. This is very annoying. Actually not the picture is moving in the album but the whole thumbnails are scrolled.
    Did I make my problem clear? It is not so easy to describe.
    The error is around for quite a while. At least since iPhoto 5.0.0. I tried to rebuild the database with alt-command but the problem does not go away.

    Ok, then it is an (annoying) feature.
    So I can at least hope that Apple will change the behaviour in a future iPhoto version. If would have been a bug and only I have it Apple will propably never fix anything
    Thanks.

  • Recording via line-in always below the center line

    I've been recording music via a line-in input on my sound card for a while now and had no real issues. However, suddenly all recording I do falls below the center line and I have to center the waveform after recording. Ive checked the connections, bought new wires and still it happens.
    Does anyone know:
    a) what causes this
    b) what issues, if any, are caused when making an "off-center" recording?
    Thank you everyone for your time.

    Wild_Duck wrote:
    The evidence pointed to this being just another example of a machine being designed by an engineer who was red hot on the digital side, but unaware of audio design criteria.
    That is more and more turning out to be at the heart of a lot of these problems. At the place I work part-time, more and more people are beating a path to our door with what turn out to be analog problems that have been very poorly understood - or in some rather worrying cases, not understood at all because of this. I had all but given up with electronic engineering (because digital is extremely boring), but I'm getting presented with more and more of these ridiculous problems - and an awful lot of them relate to what happens during the processing of an analog signal before digitising it, because that's pretty much what analog electronics is reduced to these days - I/O. Well certainly commercially, anyway.
    Sometimes it's quite good fun when digital engineers come in, and either their eyes glaze over, or more often they are genuinely shocked at what they don't know. And we think that it's all pretty basic stuff!
    It had a different DC offset depending on which input was selected and then the offset changed as the gain was increased or decreased.
    Hmm......as far as digitising audio in a laptop is concerned, the reference (which sets the DC level you see as a centre line) has to be set at half of the potential voltage swing of the preceding line input stage, and the swing itself has to be scaled to the input of the A-D stage. Capacitors are relatively expensive compared to resistors, so they try to include as few of these as possible in the circuitry, and I think that it's more likely that they would try to manage without them. What this means is that if the power supply to the preamp is isolated from the analog supply to the A-D converter reference, then the chances of drift or an offset in the centre line increase considerably, although in reality this drift is unlikely to be excessive, or that significant - hence the 2% figure I quoted above. If you have several different inputs, then it's hardly surprising that shifts occur - if you end up with, say, and extra mic pre with its own small offset getting magnified by the next stage, then getting to 2% should be quite easy!
    No, none of these are precision circuits (or anywhere near to them, in fact) - if you want those, then you have to pay more, and use an external converter.

  • Always jumps back to special characters like ü,ö,ß

    hello,
    so i have been having problems with my macbook pro recently. it has a US keyboard but i write a lot in german so i have to use special characters like ä,ü,ö,ß which normally is not a problem, because i can just stay longer on the a,u,o,s keys and it works perfectly. however, recently when i was typing one of the special characters a lot of the time it jumped back to the previous one i had typed a couple of words back.
    this is really really annoying and i do not know what i can do about it or what i am doing wrong.
    it would be awesome if somebody knows a way how to fix this problem.
    thank you for your help!

    Hi,
    Unicode or Non-Unincode System ?
    Displayed where ? SAPGUI ? Print Preview ? Spool-Display ?
    And how is the XML file written ?  OPEN DATASET ? BAPI ?
    At all of these stages it might be either that it is only a display system, like the selected display CHARSET in SAPGUI, when it is a non-unicode system, or simply not coded correctly like OPEN DATASET without specifying the cdepage when necessary.
    And it might even be, that even "displaying" the XML File is simply done with the incorrect codepage while the data inside the file is correct.
    If you are on Windows, you might even face funny results when saving a simple textfile from notepad with ANSI/DOS and both Unicode variants and then go to CMD.EXE ans simply "type" the content.
    All 4 results will be different, allthough notepad will display the same stuff.
    So first of all, makes sure which codepage is relevant at all stages from DB-table to "display"
    - DB-Charset
    - SAP system type (unicode/non-unicode)
    - SAP codepage (1100 / 410x )
    - crosscheck the test from report RSCPINST
    - Codepage on Windows running SAPGUI
    - Selected codpage for Sapgui
    Good hunting
    Volker

Maybe you are looking for

  • Fax not able to send or receive

    I have the Laserjet Pro 200 Color MFP printer which I use wireless, and it has been working fine unil now. When sending, I get the "no fax detected, no fax received" and when sending a fax i hear the ringing but it never connects, no answer. I have u

  • [SOLVED] DBUS boot problems - Mounting system devices as a normal user

    I have the [testing] and [community-testing] repositories enabled. A few days ago, probably due to an update, I started having trouble mounting devices and the shutdown/reboot options don't show up anymore on the LXDE exit menu. I use gvfs for mounti

  • SMC 1.8 Update - causing kernel panic

    Having run software update today on my mid 2012 macbook pro, that included the 1.8 SMC firmware update I have now had 4 kernel panics in as many hours. Each of the 4 crash logs lists "BSD process name corresponding to current thread: backupd". Since

  • - How can I tackle this problem?

    Here's what I'm trying to do : - Vertically center a table - Add gradients above and below the table (1px wide, repeating x-axis) - At the end of these gradients, display opaque color (of the same color as the last pixel in the gradient) - The gradie

  • Updating fnd_attached_documents table

    Hi All.. I am a new learner in r12. I want to insert the new invoice record in the fnd_attached_documents table for the same invoice already entered in the table. Its like for a particular invoice id, we insert the new record and then later on null t