Doubt on JList. Please read it and reply me n coding part... Please....

in case of combobox we use item listener to focus or scroll the widow automatically according to the user input through key board
dirList = new JComboBox(a);
dirList.addItemListener(listener);
My questin is how the same action can be done in the case of Jlist.
For JcomboBox there is addItemListener (to focus or scroll the widow automatically according to the user input through key board)
In case of Jlist what method is used to focus or scroll the list widow automatically to the location according to the user input through key board. Please help me out.

The following code is in JcomboBox. i.e., srolling is done in Jcombobox.
public class ItemTest {
public static void main(String args[]) {
JFrame frame = new JFrame();
Container contentPane = frame.getContentPane();
ItemListener listener = new ItemListener() {
public void itemStateChanged(ItemEvent e) { }
String flavors[] ={ "Apple","Bannna","Chillies","Deepak","Thiru","Shiva","Sharath","jeyastin"};
JComboBox jc = new JComboBox(flavors);
jc.addItemListener(listener);
jc.setMaximumRowCount(4);
contentPane.add(jc);
frame.pack();
frame.show();
Plese tel me. How the same program output is implented using Jlist (with the same automatic scrolling) Please tel me soon guys.....

Similar Messages

  • Danny Richardson: Please read and reply if you can

    Hello Danny
    I am pretty much greatful with your help and assistance in resolving my issue. Of course your guidlines helped alot, no doubt. I followed your hints and made the changes as you directed, however, still the report is not reflecting the desired changes. What I find other than the DESNAME changes, the system parameters like DESTYPE, MODE and ORIENTATION have fixed width 80 which I can not change. I was thinking if we can change that, then probably it will reflect what we want, but I can not change them because they are fixed. How can I change it I don't know. Do you have any hints here? As it is fixed for all reports I have here. I dont even know if this could be set initially when they install the report designer or what.
    Your help will again be appreciated.
    Thanks so much for you help,
    Zahir

    If you want to change the system parameters width, you should first change the report width in the Layout section of the report. Go to the Main Section in the layout Model and open the property sheet. Then change the width of the report. This new width will now be reflected in the system parameters as well.
    Good luck.
    Hello Danny
    I am pretty much greatful with your help and assistance in resolving my issue. Of course your guidlines helped alot, no doubt. I followed your hints and made the changes as you directed, however, still the report is not reflecting the desired changes. What I find other than the DESNAME changes, the system parameters like DESTYPE, MODE and ORIENTATION have fixed width 80 which I can not change. I was thinking if we can change that, then probably it will reflect what we want, but I can not change them because they are fixed. How can I change it I don't know. Do you have any hints here? As it is fixed for all reports I have here. I dont even know if this could be set initially when they install the report designer or what.
    Your help will again be appreciated.
    Thanks so much for you help,
    Zahir

  • HT201272 Tried to re-download previous music purchases, but the download button reads 'Downloaded' and is inactive. Help please. Thanks

    Tried to re-download previous music purchases, but the download button reads 'Downloaded' and is inactive. Help please. Thanks

    Welcome to Apple Support Communities
    As you know how to open the iTunes Media folder, go to this folder and open iTunes. Then, go to Apps in iTunes and drag the IPA file of the app you want to show up to the iTunes window, so it should be added.
    If it doesn't work, delete the IPA, empty the Trash and you will be able to download the application.
    If a post solved your question or helped you, mark it as solved or helpful before posting a reply. Doing this, you will avoid that your own post is marked as solved or helpful. You won’t receive any point if you mark your own post as solved or helpful. Also, you won’t be rewarding the user who solved your question and you will help other users find the answer if you mark the correct reply

  • TO and REPLY TO fields replaced by recent email client address no matter what I do. Help please?

    I own a yahoogroips list and keep the emails since 2009 in a MAIL folder.
    A new member at the list with whom I am chatting ON the list, joined 2 days ago. HER email address is now appearing in place of the list address in the TO and REPLY TO fields.
    It has replaced those fileds in ALL the emails in my folder from 2009 top now!
    Also when I try to address an email to the list address, it automatically gets replaced with the new memebr's email address.
    That is so even if I disable auto copleting of addresses.
    I can type the list addresws, but as soon as I leave the TO field of the new emails, the address changes to the new memebr address.
    PLEASE - HOW did this happen - and HOW do I  get it to UNHAPPEN?
    MANY thanks for any advice, it is driving me bananas.
    (THe list is in urgent use for medical emergency discussion re animals)
    Namaste,
         Irene

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...

  • I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it

    I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work

    Hi Timia,
    If you are using Safari as a web browser :-
    Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
    If you are using Google Chrome as the web browser :-
      Open Google Chrome.
      In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
      In the "Search" section, select Google from the drop-down menu.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • I have iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hi, I have the  iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hello Glittergirl68,
    Thank you for using Apple Support Communities.
    It sounds like the function to reseize the Font in an iBook is not functioning properly.
    I recommend a few things here. First close all the apps that are running in the background:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    From: iOS: Force an app to close
              http://support.apple.com/kb/ht5137
    When you have done that, restart the phone, and try again.
    If the issue persists, I would follow these steps from the article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    All the very best,
    Sterling

  • I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  What can I do? Help please.

    I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  It does not give me the shelf to choose what book I want to read - goes directly to the first book. What can I do? Help please.

    There should be a Library button on the top left. If not ap the middle of the screen to get it to appear.

  • Ipad form ....help needed please.  Clear form after email as read only and sequential numbering

    Hi
    i am a complete novice at this however this is what I want to achieve.
    i Have a paper duplicate report sheet that I want to get electronically, I want to be able to add sequential numbers to each report and be able to email the report to the client from a email field in the form
    so far I have so I have created the pdf form, I have a button that runs a JavaScript that will hide the submit button and then send to the clients email and to bcc myself so I have a copy of the report also. This has been tested and works
    i Am struggling with sequential numbering and once the form has been emailed it's un-ditable as the JavaScript has converted it to read only for emailing which is good as it can't be edited. But Is there a way on my submit button to email the report as read only and then clear all form fields in the report ready for filling with the next sequential number?
    I Have had a good look sound for a resolution to this but am struggling
    many thanks in advance for any feedback
    paul

    Hi Paul,
    I presume that you are using the desktop version of Acrobat Pro to author the form.
    I will move this discussion to the PDF Forms forum so that the experts in the forum can answer your question.
    Please note that the Reader/Acrobat DC mobile apps (for iOS, Android, Windows Phone, etc.) have limited JavaScript support.
    JavaScript for Reader Mobile API Reference (iOS)
    You may be able to make the form work as you want in the desktop version of Adobe Reader/Acrobat Reader DC.  However, some functionality (e.g adding a sequence number to each PDF) will not work in the mobile apps due to the limited JavaScript support.  Sorry for the inconvenience.

  • Please read this and help me.

    I got passed on OCJP exam and need certificates right now so I sent lots of e-mail to oracle official e-mail.
    like 3days ago, I got an requesting e-mail from [email protected] saying that I need to send my address to
    [email protected] so that they can process my certificate through DHL.
    I was so delighted to send my all information and address to [email protected] immediately but today, I got another requesting mail saying that they haven't get any response from me. Why didn't they get my response ? I'm sure I sent e-mail to [email protected]
    I was confused and replied back to [email protected] but got auto reply saying that I got failed to send e-mail.
    I think that [email protected] set me as spam or something because they always ignore me and actually
    I've sent them e-mail a lot saying 'expedite my certificate through faster way'
    Somebody check for me please...

    Yeah, I would say it's same request. I request many official to expedite my shipment but they all said no.
    so when I was just like giving it up, somebody sent e-mail to me saying that I need to send my address to [email protected] so that they can send my certificate through DHL
    I was so pleased and sent my address to [email protected] but I got another e-mail saying they didn't get my reply.
    I think [email protected] has problem or something with my e-mail account, give that they always ignore me.
    below are the e-mail datails
    Dear Customer:
    Service Request Number 22293275 (AutoSR : OCP | OCP: 1 | Issue Type : Certification Success Kit) has been updated.
    Dear Jeong ,
    Our records ind icate that your Oracle Certified Professional, Java SE 6 Programmer success kit was sent to you as on 14-Sep-2011 and its a general practice that a candidate is required to wait for 4-6 weeks from the date of the shipment of success kit to receive the same . We see that you need your success kit urgently and hence we request you to provide us your address in the below format at [email protected] so that we can process the reshipment through DHL .
    Testing ID :
    Address Line1:
    Address Line2:
    Address Line3:
    City:
    State:
    Zip code / Postal code:
    Country:
    Phone No:
    Once your mailing address is verified your kit will be re-mailed. Please include your Prometric Testing ID- and SR# in all your emails.
    We have not received any response for the same till date. Please mail us the details in 3 business days to SunCert so that we can assist you.
    Note: If we do not receive any response by 27-Sept -2011, your Service Request will be closed and you will have to raise a new Service Request for your certification query.
    Regards,
    OCP Team.
    To view the progress on-line please use the iSupport homepage at
    http://global-service.oraclecorp.com/OA_HTML/iburdt01.jsp?srID=22293275
    Please do not reply to this mail - please use iSupport instead.
    Thank you for using iSupport,
    Best Regards - Oracle

  • Can any body please read this and ans me

    hi all,
    can any body please read this and tell is there any function module or some other thing is available.
    Material masters are location specific, and Progistix maintains part details in Canadian $, now we need to get the logic how SAP converts the standard cost of the material from Canadian $ to US $
       The plant number of Canada is 3002.

    Hi
    you would have to use the following function modules
    CONVERT_TO_LOCAL_CURRENCY
    CONVERT_TO_FOREIGN_CURRENCY
    regards
    Dinesh

  • HT1476 i just goyt my ipod touch 5th generation three days ago and left it in my bed with my screen down and itunes wont read it and it wont charge what do i do??? please help me

    i just goyt my ipod touch 5th generation three days ago and left it in my bed with my screen down and itunes wont read it and it wont charge what do i do??? please help me

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Vba to read and reply my email automaticaly by reading subject

    Have you looked into Outlook Rules?

    hi 
     i want vba to automatically read the subject line and body of an email  and reply to the email and also attach a file * this file could be diiferent to differnt emails 
    regards
    viraj
    This topic first appeared in the Spiceworks Community

  • Vba to read and reply

     i want vba to automatically read the subject line and body of an email  and reply to the email and also attach a file * this file could be diiferent to differnt emails 
    regards
    viraj
    This topic first appeared in the Spiceworks Community

    hi 
     i want vba to automatically read the subject line and body of an email  and reply to the email and also attach a file * this file could be diiferent to differnt emails 
    regards
    viraj
    This topic first appeared in the Spiceworks Community

  • Hello all, I saw this message in my Iphone 5 notes. it reads " Stop! who are you? And why can I read your and you my notices??" Please has anyone had any similar experience? Any suggestions/solution would be greatly appreciated. Thanks

    Hello all,
    I saw this message in my Iphone 5 notes.
    It reads " Stop! who are you? And why can I read your and you my notices?? "
    I did not write it.
    Please has anyone had any similar experience?
    Any suggestions/solution would be greatly appreciated.
    Thanks

    oliverMili wrote:
    Hello all,
    I saw this message in my Iphone 5 notes.
    It reads " Stop! who are you? And why can I read your and you my notices?? "
    I did not write it.
    Please has anyone had any similar experience?
    Any suggestions/solution would be greatly appreciated.
    Thanks
    I had a similar experience with mac e-mail where apparently someones ICLOUD id for their Iphone was created with an Alias I had @mac.com for years.  Originally thought the mail was phishing and deleted without opening - then received forwarded mail from the other persons non-apple account - so gave feedback through mail to apple and also sent an email to the other persons non-apple account from a non-apple account telling them I was getting their mail because it was my alias.    
    That person did get apple to untangle the accounts so I did have to reset my password once it was done.
    So one option would be to contact apple support to get them to find out what is going on with your account.
    E-mail contact of the other person was easy once I had a legit account to send to -- don't know how you would contact the other person in notes.

  • Please add filter of unread & read email and SMS feature in IOS 6 ?

    Please add filter of unread & read email and SMS feature in IOS 6 ?

    You're not addressing Apple here. This is a user-to-user forum. Submit your feedback directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

Maybe you are looking for