JScrollPane also move.Help!

I add some JTextField in a Panel. and the panel is in a JScrollPane.
i add keyListener for these textField, for example,KeyEvent.VK_UP,
KeyEvent.VK_DOWN, the question is when i press up/down key,the JScrollPane
also move up/down...(and perform before my code),how to forbit this?
Any answer would be apreciate!

free_sea,
I haven't done this...but just as you add key listeners to a text field you should be able to remove key listeners from the scrollpane.
--A                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • My rental stopped mid-movie, help. this has happened multiple times to me before too.

    My rental stopped mid-movie, Help. This has happened multiple times to me before too. I demand I get a refund.

    Hey preachit,
    It sounds like we are running into issues with the iTunes software connecting to your device. If possible, lets try plugging your iPhone 5 in with a different cable. Also, try plugging it in to a different USB port on your computer:
    iOS: Troubleshooting USB connection
    http://support.apple.com/kb/TS1286
    We may need to isolate the issue down to the iPhone or the current installation of iTunes. If the above steps have not resolved your issue, remove and reinstall iTunes:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    Thanks,
    Matt M.

  • I am not able to restore my iPhone 5s and not able to update software to ios8 also please help me I have tried everything not even hard reset is working

    Hello my iPhone 5s is not able to restore it from settings also and from iTunes also and I'm not able to update to ios8 also pls help me someone I wnt to update it and restore it when I restore it's shows update to ios8 when I do that it will start download and after few time it got error and stops there pls suggest me something

    Hey alkarim2008,
    If you are having an issue with being unable to update or restore your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    Resolve iOS update and restore errors in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • TS4268 how i can download facetime for my iphone4s.i couldn't find out it in apple store also.please help me....

    how i can download facetime for my iphone4s.i couldn't find out it in apple store also.please help me...

    You don't download it.  it is built in to your iphone, unless it was originally purchased from one of the Middle eastern countries where it is not allowed.
    You should not leave your e-mail on a public forum.
    iPhone User Guide (For iOS 6 Software)

  • CS 6...The black in my images is brown. The colour patch in SFW is also brown. help please

    CS 6...The black in my images is brown. The colour patch in SFW is also brown. help please

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, such as total installed RAM, scratch file HDs, video card specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Stuck workflow after crash - SWPC is also not helping

    Hi Guys,
    There are some instances for a particular workflow background task which stucks and stops the workflow processing.
    This problem is not with all the instances.
    We have executed SWPC also but that is also not helping to solve our problem.
    Workflow administrator has to execute it 4-5 times to resolve this problem.
    After executing the SWPC the workflow log is updated with tRFC entries as shown below:-
    Workflow log is updated with following
      Background Processing Started            06.08.2009 12:04:51 tRFC Entries         0A126A2E03F14A7AAAC3004700000...
    Please provide us the possible solutions which can reduce this problem.
    Thank you.
    Regards,
    Guru A

    Check whether WF-BACTH or workflow administrator user is locked . Try to unlock it and check

  • My Iphone 4s ios 8.1.3 and has been upgraded to 8.2 cant login with the correct password, it is correct on pc but is read wrong in the device. also mail. help me please

    My Iphone 4s ios 8.1.3 and has been upgraded to 8.2 cant login with the correct password, it is correct on pc but is read wrong in the device. also mail. help me please

    Hi Eslam El-Gammal,
    Welcome to the Apple Support Communities!
    I understand that after resetting your iPhone, you are being prompted for Apple ID information that is not yours. This can happen if an iPhone is restored without turning off the Find My Phone feature. For more information on this, please refer to the attached article. 
    Find My iPhone Activation Lock - Apple Support
    Best regards,
    Joe

  • QT Movie help to post to .mac account or own web site

    Hello. I used iPhoto 6.0.6 to make a slideshow. Then I exported it into a large quality QT movie and it's 460MB.
    I want to post it to my .mac account and my own web site (I use Fetch to upload folders--that's the extent of my posting knowledge) and found a help topic mentioning using the "share" button on QuickTime Pro 7.2.0. My share button is grayed out and I've registered my version.
    I also tried dragging the movie to my Public Folder on my iDisk, but it stalls out on the "closing" step and requires the computer to be restarted.
    Help with this would be greatly appreciated.

    Compressing QuickTime files is nearly an art form and every file may need different settings based on the content in them. Lots of action requires a faster frame rate. Image only files can reduce that to microscopic frame rates and save both bandwidth and load times.
    I've been making QuickTime files since version 3 and there are many ways to get both small file sizes and a sense of "drama" when using just still image files. Some of mine to give you some ideas can be found at this link:
    http://homepage.mac.com/kkirkster/03war/
    I think my biggest file is still under 6 MB's.

  • Mac Mini: reset password.... also need help with my emails

    Good day,
    i recently reset my password for my mac mini but as i never log off i have forgotten the password I am still logged in but i can't change the password without knowing the last one.... Is there a way around this?
    Also....
    I connected my email account to the mail system on the mac mini and it copied all of my emails over onto the hard drive... this i didn't want as i need to be able to use the emails while i am on the road... Is there a way that i can move them back? If not is there a way that i can pull them onto my icloud account or any other account from apple that i can have access to them....
    This will also cause issues if i have to reset the mini i am worried i will loose all my emails.
    Thanks for the help!

    Reset the Admin PW. The data on the computer wilm not be lost. You will lose your passwords in your keychain
    For 10.6 and earlier
    OS X: Changing or resetting an account password
    For later
    OS X Lion>: How to Easily Reset the Administrator Password

  • IPhone video to .mov HELP!

    I have uploaded, edited and exported a bunch of videos shot from iPhones. They were told to use the cameras in landscape position so all of the video would be the same size. I'm new to this and when I exported the video to .mov the video images are distorted (they have tracers). Everything gets blurred with the tracers. How can I fix this?

    Harm,
    Please understand I admire you greatly. This is merely a technical and social conversation about the concept of shooting with a cell phone. If it makes any sense. You say it doesn't. I say it can. And has. And does.
    I have to admit I have never shot video with an iPhone but the video specs don't look all that different from my Android (Samsung Galaxy SII).
    My phone is much larger than an iPhone. In fact, so much larger that I had to modify the iPhone holder that sits on the tripod to handle how much bigger my phone is.  So the odd stuff you see is the results of Gorilla Glue that I didn't wipe off in time.
    Now, I don't know anything about variable frame rates. Never shot them, never edited them, never saw anything shot with them to my knowledge. That said, let's discuss the tripod. I was too lazy to dig out the quick release plate for my Bogen Manfrotto sticks so please just accept that the fact that the cell phone holder will fit on the quick release plate. Therefore, I can use big heavy sticks with a decent head on them, just to shoot cell phone footage. Crazy huh? (Trust me when I say if I have my sticks I have my good camera!)
    I am not saying that anybody but me would do something that silly, but before I got my new camera, I had a cell phone and I didn't want to carry my big huge, out of date, HDV camera around much anymore (Sony HDR-FX1). Heck, the camera shoots 1440X1080 with rectangular pixels and the cell phone shoots full HD. HDV camera is 1080i, cell phone is 1080p.
    Anyway, that takes care of the tripod issue. By the way, there are other ways to steady an iPhone shot. Check out these pictures.
    As far as white balance goes, I have Auto, Daylight, Cloudy, Incandescent and Fluorescent. Not great, but generally adequate for anything I might shoot in with a cell phone.
    I can adjust the exposure value, the ISO, set up guidelines to help with the rule of thirds, shoot in Sepia, grayscale, all manner of other things.
    Of course the video is not professional grade. Certainly not. But sometimes the quality of the picture is not the most important thing. Sometimes capturing the event is the main goal. You use a cell phone to make telephone calls, right? Does it sound as good as that old phone that used to be hard wired into the hole in the wall? You know, the big heavy phone that had a cord just long enough to reach the little shelf they used to build into houses for the phone to sit on. No. The cell phone quality is not anywhere near as good. (I can tell you exactly why but believe me when I say you really don't care to hear the reasons.)
    But you use the cell phone. Why? Because you have it in your pocket. Well, it is also a camera. And almost everyone has one. Our President is credited for giving them away along with the free service to poor people in America.
    As for audio... use an external recorder just like you would for almost any decent movie. Why would you expect the audio on a cell phone to be any better than the audio on a good camera. But recording the audio with the video makes it a LOT easier to sync it up.
    As for YouTube, I use it to learn things. I also use it to listen to my favorite music. There is an appeal to seeing the lyrics scroll by. My ears are not what they used to be and I hate wearing my hearing aids. There are lots of good videos on YouTube. Way more bad ones, but you have to learn to pick your channels properly.
    I loved the movie The King's Speech. I like high quality photography and film that allows me to fall into the story instead of jarring me out of the story with short jerky camera shots. But I'll bet I could make a terrible movie with the finest of cameras. And a great movie with a cell phone. Well, if I hired a great director, and lighting guys, and had a story to tell - you know what I mean.
    I'll bet Lucas, or Spielberg, or Kurosowa (if he were still alive) could make a great film with a cell phone camera if they wanted to. Or, at least a short for proof of concept. I have never seen iPhone footage properly color graded. Or have I? Would I know for sure?
    In any case, the OP has iPhone footage and probably needs to edit it with Premiere Pro and may or may not even need to transcode it and therefore would not have the original problem if we were concentrating on the problem rather than the philosophy held by people who have decent video cameras. And yes, I consider my Panasonic DMC-GH3 a decent video camera.
    For all we know, the OP normally shoots with a Red Epic but is doing someone a favor at the youth group.
    Edit:

  • I.Movie Help - joining a theme and trailer together?

    I am using i.movie 11 (v9.0.02) and have created a soccer match movie.  I also created a trailer for this movie.
    1.  How do you join the two together.  As I had to create two separate projects, or am I doing something wrong?
    2.  What's the best way to move across to i.DVD to create the final movie for burning?
    From i.Movie I shared them with i.Tunes using a large format as I was told this would give a better quality finish.  However, once I started creating my DVD I noticed that I couldn't put the trailer and the movie together (I want them to continually flow) so I had to open a new 'slideshow' and add them both into that. Whilst watching the movie back it came out a bit fuzzy?  This also happened when I created a new movie folder and put just the movie of the game in there. More importantly how to I keep a good quality finish?
    Can anyone give me some help as I need this for the whole soccer team.

    1.  How do you join the two together.  As I had to create two separate projects, or am I doing something wrong?
    No you are doing the right thing. Themes vs. Trailers force you to pick one or the other. So you would have to do two seperate projects to get both visual elements to appear.
    2.  What's the best way to move across to i.DVD to create the final movie for burning?
    You would Share to Media Browser for both versions the Theme and the Trailer versions of the projects. Then in iDVD you would click on the Media button and then the Pictures button and then look for your projects under the iMovie star icon in the Media Browser window. Then you would drag each project into your iDVD project and burn the disk.
    From i.Movie I shared them with i.Tunes using a large format as I was told this would give a better quality finish.
    You don't want to share to iTunes, but you do want to Share to Media Browser and then in iDVD pull the projects from the Media Browser back into the iDVD project window. That's the highest quality step you can maintain. So skip Share to iMovie, Share to Media browser instead.
    However, once I started creating my DVD I noticed that I couldn't put the trailer and the movie together (I want them to continually flow) so I had to open a new 'slideshow' and add them both into that.
    It sounds to me like you might be better off combining the two projects in iMovie, and there's some workarounds to do that, rather than use the iDVD tools to try and combine them into one movie. Here's what you should try to do:
    1. Using the Trailer version of your project, In iMovie go to the Share menu > Share using QuickTime
    2. Before you save it click the Options buttons as you want to set things in a way that iMovie can reuse your saved movie
    3. Click the settings button, under that choose Apple Intermediate Codec:
    Then save the .mov file to the Desktop, so you can easily find it.
    4. Go to the Non-Trailer version of your project and open it in the Project browser window (the top half of the iMovie screen)
    5. Go to File Menu > Import Movies... then navigate out to your Desktop and find the .mov file. And import it into your iMovie Events folder.
    6. Find the newly imported Trailer, and drag it into the Non-trailer project which is currently open in your Project browser. Drag and drop it at the begining or the end depending on where you want it to appear.
    7. Go to the Share Menu > Share to Media Browser and let that run until it finishes, then quit iMovie
    8. Open iDVD click on the Media button, then click on the Movies button. Find your shared project under the iMovie star icon in the Media Browser window. This exported version should have now BOTH of your projects consolidated into one iMovie project. Drag that into the iDVD project window and burn the DVD-R disk.

  • Droid X Tv shows/Movies help...

    I've bought a lot of tv shows and movies on itunes and I now want to put some of them on my new droid x. I know you can,and already have,put music that I bought on itunes onto my droid,but I cant get any of the shows to play on my phone. Does anyone know if you can do this? 

    jonizaan wrote:
    I used DVDFab 8 to convert DVD's to MP4's....I also moved files from my iTUNES library over and converted them for my Droid X.  There's a youtube video on how to use the software.  Just search youtube for DVDFab 8 to get the tutorial.  I also downloaded a free market app called doubleTwist to use as a player on my X.  It looks similar to iTUNES, so it has a familiar feel to it if you like using iTUNES.  You have to load doubleTwist onto both your X and your home PC/laptop.  Then you just connect your X to the PC and drag the movies or music from the library to your X.  Hope this helps!!
    Why do you convert the files because the files should already be MP4? I have placed my Mp4 on ipod and also copied movies straight from library to other devices, I never refiltered.  DVDFab is a rather expensive solution, there is a number of apps that can do it as well, when I do need to filter images I use FLV to AVI MPEG WMV 3GP MP4 iPod Converter from http://www.aone-soft.com/flv_to_avi_mpeg_wmv_3gp_mp4_ipod_converter.htm. this can convert all formats listed to another format without issues.

  • I also need help with a programming assingment. I think I'm almost there!

    I have the following assingment to complete:Once again, you realize that you need to upgrade your Java program with two more features:
    Be able to print products which are �On Sale�.
    Use arrays to store the product names so that you can keep track of your inventory.
    After some analysis, you notice that printing the products can be achieved by modifying the two classes you have already written. One approach would be to add a Boolean attribute called �OnSale� to the ToddlerToy and add a print method that print information about a product indicating if it is �On Sale�.
    Update your constructor, taking into account the �On Sale� attribute.
    Create two more instances: a small train called Train4 and a big train called Train5. Mark both trains �On Sale�
    Add another method that prints the sale information
    Keeping track of the names of products can be achieved by declaring an array of strings in the ToysManager class itself. Each time a new product is created, it is also added to the array. Use a while construct to print the product names in your inventory.
    This is the code I have come up with:
    public class ToysManager {
         private String toyInventory[] = {"Big Train","Small Train"};
         public void printInventory() {
         System.out.println("List of Items in Toy Inventory");
         for (int i=0; i<toyInventory.length; i++)
         { System.out.println(toyInventory[i])); } // ";"expected - ToysManager.java
         public static void main(String[] args) {
              //System.out.println("This is the main method of class ToysManager.");
              //call on ToysManager printInventory method for a listing of all toy types
              printInventory();
              // Create ToddlerToy Objects Train1,Train2,Train3,Train4,Train5
         ToddlerToy Train1 = new ToddlerToy(489, "Big Train", 19.95,false);
         Train1.printOnSale();
         ToddlerToy Train2 = new ToddlerToy(489, "Big Train", 19.95,false);
         Train2.printOnSale();
         ToddlerToy Train3 = new ToddlerToy(477, "Small Train", 12.95,false);
         Train3.printOnSale();
         ToddlerToy Train4 = new ToddlerToy(477, "Small Train", 12.95,true);
         Train4.printOnSale();
         ToddlerToy Train5 = new ToddlerToy(489, "Big Train", 19.95,true);
         Train5.printOnSale();
    }     //this is the end bracket for the main method
    }          //this is the end bracket for the ToysManager class
    class ToddlerToy {
         // Initialize and Assign Data Types to each Variables
         private int productID;
         public String productName;
         public double productPrice;
         private boolean onSale;
    public void ToddlerToy(int a, String b, double c, boolean d) {
         // Assign Data to Variables
         productID = a;
         productName = b;
         productPrice = c;
         onSale = d;
         //PrintProductPrice(ProductPrice);
         } //end of constructor
    public void printOnSale(){
         if(onSale == true) System.out.println("This item #" + productID + ": " + productName + "is on sale");
    I don't have any problems with class ToddlerToy. I can compile that with no problems. I'm having issues with public class ToysManager. I can't compile that one correctly. It fails at:
    { System.out.println(toyInventory[i])); } // ";"expected - ToysManager.java
    I've looked through the java books I have and also online, but I can't figure this out. I'm new to java so any help would be appreciated.
    Thanks in advance.

    Thanks. That got me past that error. I was hung up on that for far too long. I made some changes and when i compile the ToysManager class it shoots a different error. The code now looks like this:
    public class ToysManager {
         private String toyInventory[] = {"Big Train","Small Train"};
         public void printInventory() {
         System.out.println("List of Items in Toy Inventory");
         for (int i=0; i<toyInventory.length; i++){
         System.out.println(toyInventory);
         public static void main(String[] args) {
              //System.out.println("This is the main method of class ToysManager.");
              //call on ToysManager printInventory method for a listing of all toy types
              printInventory();
              // Create ToddlerToy Objects Train1,Train2,Train3,Train4,Train5
         ToddlerToy Train1 = new ToddlerToy(489, "Big Train", 19.95,false);
         Train1.printOnSale();
         ToddlerToy Train2 = new ToddlerToy(489, "Big Train", 19.95,false);
         Train2.printOnSale();
         ToddlerToy Train3 = new ToddlerToy(477, "Small Train", 12.95,false);
         Train3.printOnSale();
         ToddlerToy Train4 = new ToddlerToy(477, "Small Train", 12.95,true);
         Train4.printOnSale();
         ToddlerToy Train5 = new ToddlerToy(489, "Big Train", 19.95,true);
         Train5.printOnSale();
         }     //this is the end bracket for the main method
    }          //this is the end bracket for the ToysManager class
    I get an illegal start of expression for:
         public static void main(String[] args) {
    and ";" expected for:
         }     //this is the end bracket for the main method
    I looked over my initial code, before the "for" loop?, and the public static void main was a valid statement.

  • Firefox won't display at all, comp thinks it's there but nothing.redid plugins also, no help. thanks, Steve

    Hi, firefox was working fine for the longest time and suddenly, it just wouldn't display on my screen. The icon is there, it looks like it's trying to load and nothing happens. I uninstalled it and reinstalled, didn't help. Did the updates on 2 plugins, that didn't help either. It seems the comp thinks firefox is up and running but there's just no moniter display at all. I know this as when I do a comp clean up, it will tell me to shut down Firefox first before continuing. Not sure why this has happened suddenly. Any help and instruction would be really appreciated. Thanks, Steve. I've tried everything I know.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    See also:
    *http://kb.mozillazine.org/Browser_will_not_start_up

  • I have a 27" thunderbolt display NOT the iMac, and I'm trying to connect my xbox 360 to it via the Belkin AV360. I plug everything in and it does not work? I check all the power cables and and connections and still not he issue. Iv'e tried C-F2 also. Help

    I have a 27" thunderbolt display NOT the iMac, and I'm trying to connect my xbox 360 to it via the Belkin AV360. I plug everything in and it does not work? I check all the power cables and and connections and still not he issue. Iv'e tried C-F2 also. has anyone used this devive (AV360) on there own 27" thunderbolt display (not the imac) and gotten it to work? If so I'd appreciate the help.

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

Maybe you are looking for