A very strange thing . . .

Hi all,
A very strange thing just happened. One track in a project, which has several regions, just stopped playing back! All other tracks play fine. Even the track that stopped playing back, when selected, is still active, i. e., my midi controller still plays the software instrument associated with the track. All of the info is still there; I can see it all in the piano roll, the score . . . everything.
One clue, which I'm not sure how to describe, is that in the problem track, all of the regions have changed color and now have a little dot in their upper left corner. So, the regions which were all green, the default color, are now gray and green, but have the little dot at the top left.
Oh, this happened by accident while I was recording on that track. I was attempting to record a new region between two other regions, then suddenly this happened!!
Anybody know what's going on here?
Thanks, Joseph

thanks for the gray tracks thing. I have worked with Performer since 1985. I am having the hardest time simply getting around on logic express. Copying, pasting, setting regions. I record and sometimes it doesn't erase the previous info. I paste a track and it goes to another track. How do I erase measures on one track? Sorry for the lack of clarity in this question but the manual has been hard to understand. COuld I call you? I know the answers are easy. I don't see the logic in logic. Any help would be appreciated. [email protected]
fritzkersting.com

Similar Messages

  • I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. Help!

    I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. In one case, a message someone had sent to me wound up in the mailbox of a third person, who was not included in the address list!!  I have only two accounts, and have checked everything; only one account is showing the repeats Now, that account is my professional account, and it resides in three places: I use it on the laptop described here, I use it through Apple Mail on the much newer desktop Mac in my office, and I can run it through Web mail on my employer's server, which is where the professional account resides (I have a mailbox there, etc.) That program is called Zimbra.
    My personal account is with Earthlink and is not doing the repeats. I access it either through my MacBook's Apple Mail or the Web; the Apple Mail on my office Mac is not configured to access the Earthlink server.
    What IS going on here?? My friends, colleagues, and students (I teach college) are mystified by these ancient messages.
    Thanks for any help!!

    I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. In one case, a message someone had sent to me wound up in the mailbox of a third person, who was not included in the address list!!  I have only two accounts, and have checked everything; only one account is showing the repeats Now, that account is my professional account, and it resides in three places: I use it on the laptop described here, I use it through Apple Mail on the much newer desktop Mac in my office, and I can run it through Web mail on my employer's server, which is where the professional account resides (I have a mailbox there, etc.) That program is called Zimbra.
    My personal account is with Earthlink and is not doing the repeats. I access it either through my MacBook's Apple Mail or the Web; the Apple Mail on my office Mac is not configured to access the Earthlink server.
    What IS going on here?? My friends, colleagues, and students (I teach college) are mystified by these ancient messages.
    Thanks for any help!!

  • Very strange thing after 10.7.3 update?

    Very strange thing after 10.7.3 update?
    Everything seems to be working normal except the desk top BBC iPlayer which plays fine in a small window but when you go to full screen still plays the sound but the screen just goes black, no video?
    I thought maybe the update knocked off one of the plugins or players but reinstalled iPlayer and same problem, anyone got a workaround or suggestion as to how I can fix it, am I the only one?
    Full screen YouTube works fine.
    Everything else seems ok, maybe running a little hotter and the fans are kicking in a little sooner but does feel a little snappier.
    Thanks
    Phil

    Seems like they are on it
    http://iplayerhelp.external.bbc.co.uk/help/announcements/full_screen_mac_desktop
    I hope it doesnt take too long

  • Very strange thing happening

    I developed a spreadsheet today and had a very strange thing happen while I was working in Numbers.
    Every minute or so Stuffit Expander would open and expand a file and place it on my computer. It started out as a quick flash on the screen and would be gone in an instant. I saw that it was being made by Stuffit so I opened up Stuffit and went into Prefs and told Stuffit to ask before expanding the file. This, then, stopped the process so I could see what was going on.
    A folder was make called "[file name].numbersFolder"
    Inside the folder are two files called: "buildVersionHistory.plist" and "index.xml". Along with these files is a "QuickLook" folder that has a thumbnail of the spreadsheet I am working on inside.
    The xml file is large and has several URL's embedded including the Apple developer site (http://developer.apple.com/namespaces/sfa).
    Can anyone tell me what is going on here.
    Looks fishy to me!

    If I recall, this is StuffIt expanding what it thinks is a ZIP file. It is correct, in a way, but you don't want it to do that. I do not have StuffIt so I do not know what settings it has. Hopefully it has one along the lines of "automatically unzip zip files" and you can turn it off.

  • Macbook Pro Headphone Jack, a very strange thing going on with it? help

    Hello,
    My Macbook Pro 15" Mid 2011 has had this very annoying small issue for over a year with the headphone jack. Sound only plays through the headphone jack as per normal when i restart the laptop, but once i remove the headphones and plug them back in sound isn't going through the headphone, it's going through the speakers as if headphones aren't plugged in, to have it working as normal i have to restart the laptop again.
    Is this a hardware or software issue?
    Please help me resolve this..
    Thanks,
    Jacob

    Welcome to Apple Discussions!
    Since this is a brand new MBP under warranty, the best thing to do is to contact Apple and tell them about your difficulties. If you have access to an Apple Store, you might want to bring your Mac in and show them what it is doing. This does not sound at all normal, and it's very possible that you have hardware issues involved. If so, you should be eligible for a repair under warranty or possibly even a replacement if you are still in the first 2 weeks of ownership.
    There is a long thread which may be relevant:
    http://discussions.apple.com/thread.jspa?messageID=12542170
    It's probably too long to read the whole thing, but you might browse the posted images and see if this looks like your problem.
    Good luck!

  • A very strange thing happening with Nokia Map Load...

    I am trying to load new maps onto my x6.
    When I click on Nokia Map Loader it tells me that another instance of the programme is running and that I need to close that one down first.
    But this is not the case. I have no other programmes running.
    It mentioned that I might have the maps updater programme running. Again that wasn't true.
    I uninstalled both and started again.
    Same problem.
    I try launching map loader through pc suite. Same thing.
    I am really flummoxed and I hope someone can help.
    Thank you.

    Did you set up "hot corners" for Expose?
    I bet you have the up/left corner set for "Application Windows" then when you move over and have no apps open you get the warning noise. When you move slowly you just don't hit the corner to triger expose
    D:

  • Apex working ...but very strange thing happening

    hi,
    My forms is working ok in apex. I am able to click button and generate new id and save the record,i can see the new id in the table in the db .But the problem is when i checked the same record using oracle forms 6i ,i was able to search the record but in the details block its showing null.
    The existing forms are working ok for all the records,but when i use the apex form to generate id then its showing null details for that records.
    Please advise.
    Thanks
    Hsac

    hope you are generating id through sequence. is the sequence created by you or if you are using sys_guid and if sys_guid sequence you would have used to_char and under format 'xxxxx.....xxx' would have been used. It is strange if i give less than 32 'X's, i am also facing your problem in apex itself too.

  • Very strange!! i got the old web?

    I have a very strange thing that happened and iam trying to figureout what is going on after i tried modifying tens or maybe hundreds of setting trying to solve it.
    I have a motorola sbg6580 for my home perimeter i have forwared port 80 to my webserver and it works fine jst like always.
    Now i also have an ASA 5505 which i configured for the webserver, after i put the webserver behind it the topology config was like this:
    motorola sbg6580>ASA>switch>webserver1+webserver2+laptop. (forworded port 80 from the moto to the ASA external interface).
    strangely, from the outside internet i can access only the old version of the website (i did updated the website the night before and it worked fine when connected directlly to the moto with out the ASA).
    Then i found out that the old version of the website (website contects before update) also exist on the other web server so i figured OK i forgot to stop the other server's website, but when i stopped the other server'ways website the same thing keeps happening..i get the old website.
    By the way (when i type the address of the intended website (ip address http://x.x.x.x) from a computer on the VLAN or the LAN I Get the updated view of the website and everything is fine, but when i access it from the internet i get the old unupdated view!!!
    After that i got the webserver off the ASA's network and connected it directly to the moto like before when it was working fine (and i did the port forwarding to the server again) i got the same problem again..i get the old view of the website not the updated when i try to open it from the internet,but when i open it locally from the LAN i get the new updated website with no problem.
    This got me thinking of three possibilities:(which are impossible to even think about):
    1-Is there some caching function of the webserver it self for the old website or some where on the network? (if yes then how come i can open it just fine and view the updated website from the LAN or from the webserver host it self?) so this might be impossible which brings the thought of the second and most likely possibility which is:
    2-The Motorolla router somehow have a malfunction wth it's forwarding capability (which is also not possible because when i send http request from the internet i do get the website but not the updated one but the old version which does not even exist on the server.
    3-The ASA firewall is somehow contagious!!!
    The question is (where exactly is this old website is view or layout is coming from after i tookout it's files from the server it self and replaced it with new files when are for the new updated website) , and how to fix it?
    This is the first time i see such a thing and i have been trying for hours and hors to solve it or see where the problem is (i suspect problem in the moto router)

    Apple has an out of warranty replacement program, the cost in the US is $199. I don't know if any original iPhones are still available under this program(remember, that phone was discontinued sometime ago), but even if they were, why would you spend $200 on a discontinued phone?

  • Strange thing about multiplication of several doubles

    Hi,
    I have encountered one very strange thing as follows.
    double b1 = 2006 * 365 * 24 * 60 * 60 *1000 ;
    the result b1 = 642,697,216;
    obviously , the result is not correct.
    so I change into another way.
    double b2 = 2006 * 365 ;
    double b3 = 24 * 60 * 60 *1000;
    double b4 = b2 * b3;
    the result b4 = 6,326,121,600,000;
    fortunately , it is correct.
    who can explain this queation for me?
    thanks

    I think you're getting integer overflow because all
    your literals are ints.
    Use 2006.0, 365.0 etc and see how you go.It's enough to add .0 to the first number.
    Kaj

  • Very Strange Touchscreen Issue

    I recieved and activated my new 8GB iPhone about two days ago and it worked great up until just a few hours ago. I am experiencing the known issue of the bottom 1/2 inch or so of the touchscreen not responding to my touch, which in turn is affecting a lot of main elements of the phone such as SMS, e-mail, iPod, etc. Among that issue, I also encountered a very strange occurrence whilst I was testing the 'dead zone' on my iPhone: Certain sections of the dead zone work if I hover my finger about 2 -3 centimeters from the screen. It is a very strange thing but true, lol. I can even capture video footage of this if it's necessary.
    Since I bought my iPhone from an AT&T store, should I return it to them for a new one on the spot or should I do it through Apple? I hope it doesn't come down to the latter since I do not live anywhere near an Apple Store (New Orleans, LA) and I just switched from T-Mobile to AT&T so I'd really hate to purchase a cheap temporary phone while my iPhone is being replaced/fixed.
    Edit: Have a Merry Christmas, everyone!
    Message was edited by: Fiyerstorm

    I just talked to Apple Support and they are going to repair it for me, it's just I need to wait til Friday since I am broke from Christmas! Once I get paid, then I can dish out the 30 dollars to get a rental iPhone to hold me over. The restore temporarily fixed the touchscreen issue since it happened again hours later.
    Also, nobody I know who would have a spare AT&T phone doesn't come to mind so I can't just borrow a phone and start the repair process now, but the wait isn't too bad. At least they do not limit the iPhone rental to just physical Apple Store customers!
    Thanks for the help, folks. :V

  • 10.4.10 update and very strange problem with Mac Mini

    Dear All,
    I have just updated my Mac Mini Intel and I am having a strange problem.
    My Mac Mini has problems booting up. Sometimes I get through the login screen as normal but my wallpaper shows and there are no desktop icons, no dock, no top of screen finder menu bar. Some other times I get stuck in the progress bar of the booting up.
    I tried to run utilities from install disk and there were no problems detected.
    The VERY STRANGE thing is that several times now as I put my fingertip onto the power button laying it on the button but not pressing it yet (because I would like to shut down the system), the system kicks in and becomes unfrozen!!!
    Someone in the 123macmini.com forum says that this problem is related to the airport receiver which is near the power button.
    What do you think about it???
    MacBook and MacMini   Mac OS X (10.4.10)  

    ok, I have found a kind of fix for the problem, although may run a hardware test to check something!.
    I unplugged all USB and Firewire devices, I turned off Bluetooth and Airport, reinstalled the 10.4.10 combo update, when it restarted the starting mac osx screen took barely a second or 2 to load (my comment above is becuase from when I first got it on Sunday I noticed it was slow to boot up, also noticed that the screen resoulution I have set does not kick in until I log on, although this may be becuase this mac mini is an intel one). The computer booted up very quickly and I tuend on bluetooth and airport with no issues and plugged all the usb and fireware devices back in. I again turned the airport off and restarted and again it booted up very quickly logged on and swithced the airport back on. I decided to reboot with the sirport on and it got stuck at the end of the os x starting up screen, I waited a few mins switched it off and on again and it booted up fine although slower. I dont mind turning the airport off when I power down as the mac usually stays on anyway. I assume Apple will release a fix for this as a lot of people seem to have the problem so think I will stay put with this for the time being. It was taking a several goes to get to the login screen before but usually got there every few boots.

  • MacBook won't turn on 98% of the time, help! Very weird things happening!

    Hi there, any advice you have for me would me much appreciated. What happened with my Macbook is all very strange.
    So, the morning before last, I was on my Macbook (which I bought in 2006 so it's on the older side, but otherwise worked great) and it was running low on battery. I was late for work so didn't plug it in before leaving. I left it open. However I have no roomates, pets, etc.
    When I get home that evening, I plugged in the powercord and it wouldn't turn on. After trying a million different things, like taking the battery out, reseting the PRAM, etc, there were a few times where I got it to turn on, went through the log on screen, and was able to use my computer like normal for about 5 minutes or so, and then it would just shut off.
    There were also many times when I would pres the power button and the screen would flash like it was about to turn on, and then it would make the noise that the computer makes when you're typically on 0% battery and it shuts down. Later in the night, when the computer was closed but plugged into the power outlet, it was by itself (meaning I wasn't pressing anything) making the noise that it was restarting. It made that noise about every 30 seconds for a few minutes. Weird.
    It was also doing inconsistent things re: the sleep light. At times it was on, including when the computer was closed, and sometimes it would go from on to off. Also, the battery/charing was doing weird things. The few times I was able to get past the log in screen it showed that it was at 0%, even though the light on the adapter was green and it had been plugged in for a long time. Another time the battery icon had an X through it. I have 2 different batteries and neither one of them seemed to make a difference.
    Also, yesterday I brought my computer into the Apple store and they put in a battery that was charged and it didn't seem to make a difference either. One more weird thing: when I did get the computer on in the spotlight bar it said it was indexing??
    Anyways, I'm just confused/upset, etc. because I literally did nothing to the computer. I didn't drop it/spill on it, etc. I'm also frustrated because the guy at the genius bar litteraly only spent like 5 minutes looking at before he said i was SOL. He said it was the "main board" that was the problem. One of the things like I'm just confused by is if the main board really does need to be replaced, then how was I able to get the computer on and working those few times???
    Sorrry this is so long, any help would be awesome!! I just don't have the money to buy a new computer, and I'm not sure it will be worth it for me to pay $300 to have it fixed when my computer's already pretty old and other things haven't been working for awhile (like my disc drive, camera). THANK YOU!!!

    EmadJamal,
    the battery won’t melt because of long connection to the AC charger, although that has the potential of reducing the battery’s life.
    Do you have access to a second 60 W AC charger to test with your MacBook Pro, or access to a second 13-inch MacBook Pro against which your AC charger could be tested?

  • Address Book behaves very strange

    Hello members and outside viewers,
    First thing: My Address Book behaves very strange.
    - After startup, the window freezes. Only if I minimize and click again, works OK. I began used to it, BUT
    - Since yesterday, Addresses gone, disappeared from every entry.
    - Under Preferences » Address Format is uneditable, it has "Item3" in it, unclickable drop down menu.
    - Under Preferences »Template » Add Field several options are grey: "Phone", "Email", "Related Names", "Instant Messaging", "Address".
    Please can you help me! I deleted both plist files from Preferences folder and deleted the whole folder under Application Support/AddressBook, also reinstalled Address Book from Leopard DVD, but nothing helped so far.
    Second thing: when I invoke Spotlight, and start typing after 2-3 seconds, it quits and also Dock unusable, restarts automatically. Spotlight is useless, it behaves every time like this. Spotlight in Finder windows are OK, system-wide menubar has this error. Also, it was suddenly gone wrong like Address Book. Can I think of some virus?
    P.S. (off topic), might helpful to share: very frustating, that registering to Discussions took me over an hour.
    - With Safari 4.03 the "Name" and "AppleID" are blank fields on "Create New User Account", therefore impossible to proceed. ( Error: invalid AppleID. Please login with a different AppleID )
    - With Firefox you can actually see them, but "?" instead of accounted letters.
    - After changing My Info, I finally realised that Apple ID should be complete e-mail address.
    - That means my "visionfresh" account is totally different from "[email protected]" (or me.com, whatever..)
    - Not to mention that I created a new Apple ID, that was also not working.
    - Bottom line: my "[email protected]" account is working also in Safari after editing my Name (replace accented characters), but I could not proceed with the nickname "visionfresh", I chose "matyashuszar".

    {quote:title=Console.App shows this when starting Address Book}
    2009.09.03. 18:45:48 Mail[228] SyncServices[ISyncSessionDriver]: Caught top level exception: I/O error for database at /Users/matyashuszar/Library/Mail/AvailableFeeds. SQLite error code:1, 'SQL logic error or missing database' Stack trace: (0x91ffcfeb 0x966c4e3b 0x92071f1a 0x920713f8 0x9206d18b 0x920a2e40 0x92097c2d 0x920977da 0x92077001 0x38767c 0x38758d 0x38751a 0x92061302 0x920a7260 0x920a6ad4 0x920a67ff 0x920633c8 0x92062f99 0x92061ea0 0x387303 0x38748e 0x1627da55 0x94ddd1e8 0x94dc923d 0x94e632cb 0x904d1dfd 0x904d19a4 0x95d56155 0x95d56012)
    2009.09.03. 18:51:27 Address Book[6144] -[ABAddressBook setDefaultCountryCode:] called with unknown country code 'us'
    2009.09.03. 18:51:27 Address Book[6144] NSScanner: nil string argument
    2009.09.03. 18:51:27 Address Book[6144] * -[NSCFArray insertObject:atIndex:]: attempt to insert nil
    {quote}
    Please help what to to do!

  • Do I have a virus? My Mac is acting very strangely

    There are lots of strange things happening with my mac.
    When I first got this mac, everything was fine. Then I had a run-in with someone who I suspect tried to or did in fact hack in to spy. There was one instance when it seemed to me like someone was using remote access to move around windows and open files right in front of me.
    Anyway, long story short, this person is no longer a concern and I have since tightened security, enalbled my firewalls and installed a VPN.
    But...here are just some of the problems I have noticed.
    When I power up, sometimes the log in window appears with only the text box visible, the rest of the screen is black. At times, when I move the mouse over the screen, it leaves a trail behind that 'erases' the black screen to reveal the log in screen behind. Sometimes part of the screen is black and some of it is not.
    Sometimes, when I power down, my mac turns itself back on again, even though the lid is shut. It sits there on sleep until further notice.
    When I walk away, leaving my mac to turn on the screen saver and then go to sleep, sometimes when I wake it up again, all of my applications have quit. I have to open eberything again and sign back in, very annoying! In these situations, my wi-fi has quite often also been turned off. When I turn it back on, it asks for my network password again, but then does not recognise it when it is entered. I have to restart before I can connect again.
    I've ran disk uitility checks and everything appears fine, I've also installed Trend Micro Titanium virus protection - it's scanned all my files and has detected nothing suspicious.
    Sometimes I have wondered about the functionality of my VPN? Maybe it is the problem? I often turn it off because it slows down my page loading.
    If anyone has any help or advice, I'd be ever so grateful...!

    If you know or suspect that a hostile intruder has either had physical access to your computer, or has been able to log in remotely, then there are some steps you should take to make sure that the computer is safe to use.
    First, if there's any chance that the incident will be the subject of legal action, then you should do nothing at all without consulting a lawyer or the police. Your computer would be the principal evidence in such a case, and you don't want to tamper with it.
    Running any kind of software to scan for "viruses" or "rootkits" is worse than useless. If I broke into your system and wanted to leave a back door, I could do it in a way that would be undetectable by those means — and I don't pretend to any special skill as a hacker. You have to assume that any intruder could do whatever I could do. The "anti-virus" software itself will slow down and destabilize the computer with no offsetting benefit.
    The only way you can be sure that the computer is not compromised is to erase at least the startup volume and restore it to something like the status quo ante. The easiest approach is to recover your entire system from a backup that predates the attack. Obviously, that's only practical if you know when the attack took place, and it was recent, and you have such a backup. You will lose all changes to your data, such as email, that were made after the time of the snapshot. Some of those changes can be restored from a later backup.
    If you don't know when the attack happened, or if it was too long ago for a complete rollback to be feasible, then you should erase and install OS X. If you don't already have at least two complete, independent backups of your data, then you must make them first. One backup is not enough to be safe.
    When you reboot after the installation, you'll be prompted to go through the initial setup process for a new computer. That’s when you transfer the data from one of your backups in Setup Assistant.
    Select only users in the Setup Assistant dialog — not Applications, Other files and folders, or Computer & Network Settings. Don't transfer the Guest account, if it was enabled.
    Reinstall your third-party software from original media or fresh downloads — not from a backup, which may be contaminated.
    Unless you were the target of an improbably sophisticated attack, this procedure will leave you with a clean system. If you have reason to think that you were the target of a sophisticated attack, then you need expert help.
    That being done, change all Internet passwords and check all financial accounts for unauthorized transactions. Do this after your system has been secured, not before.

  • Trying to do something very strange with layouts and painting components

    I'm trying to do something very strange with changing the layout of a container, then painting it to a bufferedImage and changing it back again so nothing has changed. However, I am unable to get the image i want of this container in a new layout. Consider it a preview function of the different layouts. Anyway. I've tried everything i know about swing and have come up empty. There is probably a better way to do what i am trying to do, i just don't know how.
    If someone could have a look perhaps and help me out i would be much appreciative.
    Here is a self contained small demo of my conundrum.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import javax.swing.BoxLayout;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.border.LineBorder;
    // what is should do is when you click on the button "click me" it should place a image on the panel of the buttons in a
    // horizontal fashion. Instead it shows the size that the image should be, but there is no image.
    public class ChangeLayoutAndPaint
         private static JPanel panel;
         private static JLabel label;
         public static void main(String[] args)
              // the panel spread out vertically
              panel = new JPanel();
              panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
              // the buttons in the panel
              JButton b1, b2, b3;
              panel.add(b1 = new JButton("One"));
              panel.add(b2 = new JButton("Two"));
              panel.add(b3 = new JButton("Three"));
              b1.setEnabled(false);
              b2.setEnabled(false);
              b3.setEnabled(false);
              // the label with a border around it to show size in a temp panel with flowlayout to not stuff around
              // with the actual size we want.
              JPanel thingy = new JPanel();
              label = new JLabel();
              label.setBorder(new LineBorder(Color.black));
              thingy.add(label);
              // the button to make things go
              JButton button = new JButton("click me");
              button.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e)
                        //change layout
                        panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
                        panel.doLayout();
                        //get image
                        BufferedImage image = new BufferedImage(panel.getPreferredSize().width, panel.getPreferredSize().height, BufferedImage.TYPE_INT_ARGB);
                        Graphics2D g = image.createGraphics();
                        panel.paintComponents(g);
                        g.dispose();
                        //set icon of jlabel
                        label.setIcon(new ImageIcon(image));
                        //change back
                        panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
                        panel.doLayout();
              // the frame
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(400,200);
              frame.setLocation(100,100);
              frame.getContentPane().add(panel, BorderLayout.NORTH);
              frame.getContentPane().add(thingy, BorderLayout.CENTER);
              frame.getContentPane().add(button, BorderLayout.SOUTH);
              frame.setVisible(true);
    }

    Looks like you didn't read the API for Container#doLayout().
    Causes this container to lay out its components. Most programs should not call this method directly, but should invoke the validate method instead.
    There's also a concurrency issue here in that the panel's components may be painted to the image before revalidation completes. And your GUI, like any Swing GUI, should be constructed and shown on the EDT.
    Try this for size -- it could be better, but I've made the minimum possible changes in your code:import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import javax.swing.BoxLayout;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    import javax.swing.border.LineBorder;
    public class ChangeLayoutAndPaint {
      private static JPanel panel;
      private static JLabel label;
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            // the panel spread out vertically
            panel = new JPanel();
            panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
            // the buttons in the panel
            JButton b1, b2, b3;
            panel.add(b1 = new JButton("One"));
            panel.add(b2 = new JButton("Two"));
            panel.add(b3 = new JButton("Three"));
            b1.setEnabled(false);
            b2.setEnabled(false);
            b3.setEnabled(false);
            // the label with a border around it to show size in a temp panel with flowlayout to not stuff around
            // with the actual size we want.
            JPanel thingy = new JPanel();
            label = new JLabel();
            // label.setBorder(new LineBorder(Color.black));
            thingy.add(label);
            // the button to make things go
            JButton button = new JButton("click me");
            button.addActionListener(new ActionListener() {
              @Override
              public void actionPerformed(ActionEvent e) {
                //change layout
                panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
                //panel.doLayout();
                panel.revalidate();
                SwingUtilities.invokeLater(new Runnable() {
                  @Override
                  public void run() {
                    //get image
                    BufferedImage image = new BufferedImage(panel.getPreferredSize().width,
                        panel.getPreferredSize().height, BufferedImage.TYPE_INT_ARGB);
                    Graphics2D g = image.createGraphics();
                    panel.paintComponents(g);
                    g.dispose();
                    //set icon of jlabel
                    label.setIcon(new ImageIcon(image));
                    //change back
                    panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
                    //panel.doLayout();
                    panel.revalidate();
            // the frame
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(400, 200);
            frame.setLocation(100, 100);
            frame.getContentPane().add(panel, BorderLayout.NORTH);
            frame.getContentPane().add(thingy, BorderLayout.CENTER);
            frame.getContentPane().add(button, BorderLayout.SOUTH);
            frame.setVisible(true);
    }db
    edit I prefer this:import java.awt.BorderLayout;
    import java.awt.Graphics;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    public class LayoutAndPaint {
      JPanel panel;
      JLabel label;
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            new LayoutAndPaint().makeUI();
      public void makeUI() {
        JButton one = new JButton("One");
        JButton two = new JButton("Two");
        JButton three = new JButton("Three");
        one.setEnabled(false);
        two.setEnabled(false);
        three.setEnabled(false);
        panel = new JPanel();
        panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
        panel.add(one);
        panel.add(two);
        panel.add(three);
        label = new JLabel();
        JButton button = new JButton("Click");
        button.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            layoutAndPaint();
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(400, 400);
        frame.add(panel, BorderLayout.NORTH);
        frame.add(label, BorderLayout.CENTER);
        frame.add(button, BorderLayout.SOUTH);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      private void layoutAndPaint() {
        panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
        panel.revalidate();
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            BufferedImage image = new BufferedImage(panel.getPreferredSize().width,
                panel.getPreferredSize().height, BufferedImage.TYPE_INT_ARGB);
            Graphics g = image.createGraphics();
            panel.paintComponents(g);
            g.dispose();
            label.setIcon(new ImageIcon(image));
            panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
            panel.revalidate();
    }db
    Edited by: DarrylBurke

Maybe you are looking for