Making the window blink

Hi,
I'm working on a Messenger-client-application. The gui is pure swing. I've got two questions that I can't seem to find answers for in the API.
1) When a message arrives I want to notify the user either maximizing or even better making the minimized window blink. How do you start the blinking? is it some kind of window-event?
2) I'm also using scrollpanes. How do I set the scrollpane to always display the buttom part of it's contents? This way I won't have to scroll down every time a message is appended to my JTextArea-outputarea.

Yeah, I figured I should probably post my findings even though it's to a question that's old.  Hadn't seen anyone post an workaround that functioned at all.
I will note that with some digging in Process Viewer, it seems that a second copy of the iTunes.exe file is launched as a sub-process, performing some intensive operation, then quitting.  It's this process that's grabbing attention.  I'm not sure what it's doing, but it's probably related to library management, or some such.  It seems to have a distinctive pattern - during "work", it launches about once every 20-30 seconds, processes for about 5 seconds with heavy CPU load, then quits.  The launching of this process apparently grabs focus.  It sounds like something in the launch code of iTunes grabs focus even though it will end up doing background work.

Similar Messages

  • GridBagLayout resizing while making the window smaller

    Hi,
    I am maintaing a Swing app in which the GridBagLayout is extensively used. The GBL is not my cup of tea, I'd rather replace it by one of the LayoutManagers I seem to be able to control, but GBL is all over the place and not easily replaced. Now for the question: when a window is maximized, the components are resized as expected (made larger), when subsequently the window is made smaller again, the components remain large instead of shrinking back to their normal size and scrollbars appear. Can anyone give me a quick hint or pointer where to start looking in the docs or code to control shrinking?
    Thanks,
    Marnix

    Other windows in the same application do behave better, although most of their components remain at their original size.
    The window is being repainted as scrollbars appear when made smaller. I really would like to experiment with some settings on the constraints but I lack understanding of what parameters control the shrinking back to the "normal" size.
    I'll be checking the min/pref and max sizes settings.
    The fill parm is set to BOTH...
    As to an SSCCE: it is all part of a rather baroque collection of interdependent customized GUI components, I did not invent them but I have to deal with them. If any means of controlling the shrinking exist I'll happily read up on them and excersise the option in my app myself but so far a lack a starting point...

  • My Macbook Pro makes the Windows Critical Error sound randomly.

    So recently my MacBook Pro 17" Late 2011 has been making the Windows critical error sound just out of the blue. It even happens when the sound is off or the lid is closed. I do not have a windows program open but i do have VMWare and Windows installed on it but it happens even with the program closed down. Has anyone ever heard of this happening?

    bump

  • InDesign document window blinking!

    Document window keeps blinking interrupting workflow. Thought it was a CC 2014 bug but I went back to ID CC and it started again. It's driving me crazy. The border of the window blinks and causes a hesitation in whatever you're trying to do. I can't work this way. Ready to toss the computer!!!

    My IndDesign CC 2014 is doing exactly the same thing. Intermittent — almost rhythmic — blinking of the document window frame coinciding with a deactivation of whatever I'm trying to do when it happens. For instance, I try to select a font, so I click open the font menu and get ready to click on the desired font when suddenly the document window blinks and the font menu closes. Or, say I'm creating a text box. I select the text tool, click and hold at the top left corner and begin dragging to the bottom left corner. Then, the document window blinks again and the box I'm trying to create disappears. I've tried trashing preference and saved data, clearing the InDesign cache, and shutting down Suitcase Fusion 5. None of it has helped. Filing a report now.

  • Cuatom Forms: Loosing the Vertical scrollbar when resizing the Window

    Hi All
    I have developed a Custom Form. In that there is a Content Canvas and on the top of that I have put a Stacked Canvas so that i can get both the Horizontal and Vertical scrollbars. the form has more than 40 fields to display.
    Folder tool functionality has also been added to the Form.
    The form works absolutely fine and scrollbars too.
    But when I am resizing the window (making the window size bigger or smaller by dragging the window on the Oracle Apps screen), at that time I am loosing the vertical Scrollbar. Other than Vertical scrollbar everything works fine.
    Is there any way (any code) by which the Vertical Scrollbar will not disappear.
    I would really appreciate if any one could guide me on this.
    Thanks
    Madhu

    Madhu,
    Please post your message in the Oracle E-Biz forum. This forum is for Non-EBS Forms development and everyone here may not have EBS Forms development experience.
    That having been said, I encountered this about a year ago. If I remember correctly, we were able to resolve the issue by applying a Forms server patch to the Apps Tech stack. Please check Metalink to verify.
    Craig...

  • Making the thumbnail view larger for templates

    Hello -
    I was working on my resume last night on Pages (new to mac) and found myself having to click on a template to be able to see the layout, then close it out if I did not like and repeat ad nauseum. Is there a way to make the view of the template larger so that I can determine from the template list which one is preferable? Making the window larger did not accomplish this task.
    thanks

    At this time there isn't such a feature.
    You may
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE lundi 19 mai 2008 19:06:15)

  • When i press the green button, it goes to full screen. How can i just go back to it making the screen just a little bigger and not fullscreen?

    I recently upgraded to Mavericks and i hate that every time i press the +/green button on the top left, the page goes fullscreen. How can i go back to it just making the window bigger instead of fullscreen.

    Hold down Option key and click the Green button. It will change from the Full Screen button back to a Zoom button.
    You can also double-click the empty area in the window frame (title bar) if you don’t have it set to minimize when double-clicking.

  • How do I expand the window on my computer

    For some reason I can't make the screen on my mac bigger.  Does anyone know how to do this?

    Hey bratty420,
    Thanks for the question. I understand that you are having trouble making the windows on your Mac larger. What happens when you drag one of the edges?:
    OS X Yosemite: Window basics
    http://support.apple.com/kb/PH18785
    Manually resize a window: Drag the window’s edges (top, bottom, and sides).
    Expand a window: Double-click an app’s title bar to expand the app window to fill the space between the Dock and the menu bar. If the Dock is on the side of your screen, the window expands to fill the space below the menu bar and to the side of the Dock. You can also Option-click the green full-screen button in the top-left corner of an app window.
    You can also switch to fullscreen using the green full-screen button in the top-left:
    Switch to full screen
    In many apps, including Calendar and Mail, you can expand the window to fill your entire screen.
    Click the green full-screen button in the top-left corner of an app window:
    Thanks,
    Matt M.

  • Windows PC User Making The Big Switch To Mac OS X & MacBook 2.0GHz

    I'm from the Philippines. I've been a Windows PC user for around 10 years. I figured it's time to replace my old Pentium III 500MHz/Win98SE with a newer system to keep up with highter system requirements set forth by newer applications.
    The features I looked for include portability, performance, connectivity (built-in WiFi & Bluetooth) and value (not too expensive). I'm initially leaning towards getting another Windows XP-based platform because Windows-based apps are readily available here and getting tech support for the Mac would be a little prob. Also, I just can't afford to leave behind some applications that are somehoew inexistent in the Mac world, but the mere thought that the PC world would soon be shifting to Vista kinda turned me off. Nobody wants to buy a new notebook that would suddenly become obsolete in just a few months or so.
    However, everything changed when online research led me to Apple's homepage (www.apple.com), where I discovered Mac's latest wonder: the Macbook. I heared about the Mac OS X's reputation for stability and performance. They say Macs are less prone to worms & viruses too since most of these things were designed specificically to infect Windows-based platforms. Looks like this is it for me. I'll be getting a MacBook 2.0GHz soon.
    I must admit that what primarily attracted me to the Intel-powered Macbook is the fact that it could now run two operating systems thru "Boot Camp" or Parallels For Mac. Two applications that would give me the capability to run Mac OS X and Windows XP on a single platform. It's like having the best of both worlds.
    For me, this is really great news but I still have questions though. The Macbook is a new release, so I'm still iffy about purchasing it as new technology is notorious for having many annoying quirks and kinks that need to be smoothed out.
    My question is... What are the PROS and CONS of using BootCamp and Parallels respectively? Is Parallels better than the other? Which one would you recommend? Should I decide to install both, will there be any hitches?
    I won't be upgrading for the next 5 years or so. The notebook will likely see some heavy use for Medical Transcription work and maybe occasional gaming (mostly flight sims). This would be my first Mac purchase so I better do it right the first time. So if you have any comments, feedbacks, suggestions... kindly post it here.
    I'll be making the big switch soon.
    Rich

    I'm running Parallels on an iMac 2.0 GHz, and I absolutely love it! I expected all sorts of glitches and found virtually none. The only drawback I know if is that it treats your USB 2.0 ports like USB 1.1. Otherwise, my Windows XP virtual machine inside of Parallels doesn't seem to know it's not on a PC; it runs smoothly and much faster than on my previous 1.5GHz PC with 1.0 GB RAM. I've loaded Quicken for Windows, MS Office, Norton Anti-Virus, Adobe Acrobat, and several other Windows Apps with no troubles at all. I'm telling you, this software (Parallels) is amazing. I feel like I literally have two computers now.
    I would recommend that you have 2.0 GB of RAM, because while you're running Parallels, you have 2 OS's operating at the same time. But the ability to switch back and forth between the two OS's, share files, cut and paste - well, it's simply awesome, and well worth any extra cost.

  • Two questions:  how do Skype and iChat compare for group video?  quality, reliability, cost, etc are important.  2) Is my MobileMe ID what I need to use in the window in making an iChat buddy?  It only says AIM above the window, online tutorial differs.

    Two questions:  1) How do Skype and iChat compare for group video?  Quality, reliability, cost, etc are important.  2) Is my MobileMe ID what I need to input in the window in making an iChat buddy?  It only says AIM above the window, online tutorial differs, saying MobileMe, AIM, GoogleTalk (Jabber) all work. Thnx

    Hi,
    IChat uses better Video Compression than Skype does.
    On a top flight Mac you can send a 640 X 480 pixel frame up to 30 frames a sec.
    Skype can't match this.
    iChat in Video is Peer to Peer. (you can actually Log out of the Buddy list)
    Skype seems to borrow something from everyone's bandwidth to make connections.
    What do you mean by Business account Tracking ?
    iChat Adds (or can add) the First Name, Last Name of your Buddies and create an Address Book Entry
    Whether you mark those cards connected with a  company is up to you.
    (I have heard of issues with earlier version of iChat and the Address Book that "saw" the Company Name as the part of the Name and linking several Screen Names to the one name
    Audio on a Mac using Skype tend to be the same as the streaming needs are less.
    However you have to rely on any PCs audio abilities from PCs which may not be to the same standard.
    Mac to PCs in iChat and AIM can be difficult though.  (It should work but it rarely as simple as Plug and go)
    Skype may suit your needs better on ocassions.
    9:11 PM      Thursday; May 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • MSI VOX TV@nywhere -- Problems with blinking in down side of the window

    I write to you because i saw your site and posts on forum.
    First sorry for my bad english,but i need help...   
    I bought MSI USB TV@nywhere card yesterday, and i install
    the drivers etc, but i have problems with connection on
    COMPOSITE and S-VIDEO. When i set device to any of that two
    connections and play video form DVD component player, i got a
    picture and sound but i have some blinking (blinkering) efekt in place
    of subtitles (down bar on the MSI PVS window).
    First i have black bar on the screen,and behind is playing video, and if
    I change types to PAL-B or any other, then it starts to blink and gets me
    picture same like upper side of the window with blinking effect (name of the
    connection is blinking on that "bar" in the application window).
    on TV i have no problems, it works good.
    i download new driver but i have the same efect...
    did anybody have same problem, or you know how to make it works normaly?
    thanks for all....
    Dejan

    I write to you because i saw your site and posts on forum.
    First sorry for my bad english,but i need help...   
    I bought MSI USB TV@nywhere card yesterday, and i install
    the drivers etc, but i have problems with connection on
    COMPOSITE and S-VIDEO. When i set device to any of that two
    connections and play video form DVD component player, i got a
    picture and sound but i have some blinking (blinkering) efekt in place
    of subtitles (down bar on the MSI PVS window).
    First i have black bar on the screen,and behind is playing video, and if
    I change types to PAL-B or any other, then it starts to blink and gets me
    picture same like upper side of the window with blinking effect (name of the
    connection is blinking on that "bar" in the application window).
    on TV i have no problems, it works good.
    i download new driver but i have the same efect...
    did anybody have same problem, or you know how to make it works normaly?
    thanks for all....
    Dejan

  • I cannot record anything on iPod shuffle. Why? I do not recognise any of the windows shown in the various manuals about shuffle. Why? Currently an Orange light is blinking on the shuffle, and has been doing so for hours.  Why?

    I cannot record anything on iPod shuffle. Why? I do not recognise any of the windows shown in the various manuals about shuffle. Why? Currently an Orange light is blinking on the shuffle, and has been doing so for hours.  Why?

    I finally stumbled across a fix for this problem, and in case someone else is frustrated at some point by a similar issue I'm posting what finally worked to enable me to bring iTunes up at any time (without rebooting first).
    The solution was to go to the preferences to uncheck "search for shared libraries".
    I'm glad the problem is fixed, but Apple developers really should include a timeout function on iTunes search for a shared libraries. At least a visual dialog to confirm that the application is in the process of searching for a shared library on the network would help provide clues as to what is causing the spinning beach ball to appear right about the time the application window should pop up.

  • Making the JFrame window appear at center of screen

    How can i making the JFrame window appear at center of screen, just like JOptionPane?

    Toolkit tk = Toolkit.getDefaultToolkit();
         Dimension screenSize = tk.getScreenSize();
         int screenHeight = screenSize.height;
         int screenWidth = screenSize.width;
         setLocation((screenWidth - framewidth)/2, (screenHeight-framehight)/2);
         setSize(framewidth,framehight);;

  • My pinned tab for Firfox 4, for Window 7 keeps creating new windows. When it never used to. Why is it making another window when I already have a tab at the bottom?

    My pinned tab for Firefox 4, for Window 7 keeps creating new windows when I click it. When it never used to. Why is it making another window when I already have a tab at the bottom?

    Hmmm, mine stack up over the pinned icon as you would expect (Win7Pro x64). Is there anything special about the way you're starting up Firefox? Security sandbox? Using any command-line switches?

  • In Finder, when making a new folder, it always goes "loose" in the window

    If I'm looking at a finder window with, say 10 folders in it - okay...I click on one folder and hit "new folder" and it throws a "untitled" folder, usually at the bottom of the list (u is near the end of the alphabet, duh).
    Then I have to go find this untitled folder, rename it, and physically move it into the location.
    Isn't there a better way?
    If I am in a folder, and want to add another one in the same spot, is there any way? Seems like wasted time and steps for this basic function....
    anyone know how?

    It all depends on the sort of view the containing folder has. In List or Column view the new folder will come to life in alphabetical order in the "untitled" position (assuming you have List view set for name) of the folder you have open--so if you want a new folder in a sub-folder, you'll have open that sub-folder. When you create a new folder the window should jump so that your new untitled folder is visible and selected. Icon view can be somewhat more problematic. If you have the View Options for that particular folder set to Keep Arranged by Name then the new folder will appear in the right place, it will be selected, and if necessary the Finder will move the window so it is visible. But if you have a custom "by hand" arrangement of folders and files inside an icon view folder and simply create a new folder using the keyboard shortcut the results are variable. I usually control click the spot where I want the new folder to be and select New Folder from the contextual menu. It appears at the spot I've clicked.
    BTW, if you want to add a new folder to a sub-folder of a window in List view, but don't want to lose your "place" you can open the sub-folder by holding down the Command key, double click it, and it will open as a new window. Add your folder then close it. You can also just double click it, add the folder, then click the back button in the toolbar to return. You can customize the toolbar from the View menu.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Problem with Design Console configuration - please help

    Dear All, I am trying to configure design console. It is installed on Windows XP and should point to remote server. I am getting the following error on OIM Server and Port screen: INST-07057: Error in validating the Hostname field value. Entered host

  • No javac...

    I'm the very beginner, and I was trying to install java SE for windows (i have vista); i downloaded java and jdk but i can not compile the code because there is no javac executable file in the downloaded stuff. What else should i download to finally

  • Why having problem after updating to IOS 7?

         My unit is Iphone 5 and bought it 3rd week of  August with serial no. F1*******TWF. Recently, I updated to IOS 7. After updating I am having problem downloading applications like Candy Crush, Chikka Messenger and etc. Whenever I download apps it

  • PE7/How to change the menu's background?

    and put a jpeg or mpeg that I already produced?? Thanks in advance.

  • Bounds are not propagated in extended class

    Have a look on this small example, 3 classes A, B and C. B and A are generics class, B herits of A and there is a lower bounds on the class T in B (T extends C) public class A<T> {      public A() {}      public T foo() public class B<T extends C> ex