Just one question abt listeners

which do i use if i just want to select an item from a JList without using any buttons?
item listener or list selection listener?

In the future Swing related question should be posted in the Swing forum.
which do i use if i just want to select an item from a JList without
using any buttons? item listener or list selection listener? Use the listener that is supported by the component. Read the API and check the addXXX methods to see what is supported.
and can List Selection listeners be added to list models? or the JList itself? Read the API. The addListSelectionListener() method will be defined in the class that can use it.

Similar Messages

  • Just one question

    Has the iPod Touch matured into a good and workable traditional business PDA yet?

    The iPod touch is a good PDA if all you want to do is use the calendar and contacts. However, just these two abilities doesn't compare to what some other's do as listed above. If you don't care to edit word documents or not view them (can't display word docs, no easy way to save to the iPod without command line) then yes it is. It has eMail iCal Contacts Notes and internet. In addition, it is an iPod, so you get the Video's in super high quality, pictures (Which I guess you could take screenshots of word documents) And Music.

  • Just one question before I buy new MBA

    Hi all,
    Being a Microsoft Access developer, just wanted to confirm whether I would be able to run Microsoft Access & related VBA components through *boot camp* as normally as I could do on a PC?
    Thanks
    Rajat

    The new MBA is capable of running Windows 7 via BootCamp with full support from Apple. You can also run Virtual Machines via Parallels or VMWare Fusion, and these can be just about anything you want. Some have had success running other operating systems via BootCamp, but it can present technical challenges you may not be ready to handle.
    Windows 7 will likely get the job done. If you are concerned about software compatibility, make sure and use Windows 7 Professional or Ultimate, as they support Microsofts VM for Windows XP etc.

  • I just buy a Macbook pro, I have one question that when I use it at home, it is better to plug in AC power cord, or just use teh inernal battery withour AC power?

    I just buy a Macbook pro as a new MAC user. I conceren about internal battery life much. So I have one question that for battery life concern, it is better to use Macbook without AC poower in? or using AC power is better?
    Thanks, welcome anyone who can give me good sugegstion.
    Stephen
    22 Sep. from Taipei
    < Edited By Host >

    Either way is fine.
    About Batteries in Modern Apple Laptops
    Apple - Batteries - Notebooks
    Extending the Life of Your Laptop Battery
    Apple - Batteries
    Determining Battery Cycle Count
    Calibrating your computer's battery for best performance
    MacBook and MacBook Pro- Mac reduces processor speed when battery is removed while operating from an A-C adaptor
    Battery University

  • One question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to

    one question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to change that setting?
    TY

    The History menu can only show that fixed maximum of 15 as that is hard coded.
    Maybe this extension helps:
    *History Submenus Ⅱ: https://addons.mozilla.org/firefox/addon/history-submenus-2/

  • HT5312 Ok look these solutions are super complicated and I tried all of them and they don't work I just wanna buy a song ok just one song and it won't let me cause I don't have my questions and a answer from a robot is not going to help me so a real  pers

    Ok look these solutions are super complicated and I tried all of them and they don't work I just wanna buy a song ok just one song and it won't let me cause I don't have my questions and a answer from a robot is not going to help me so a real  person plz

    There are no robots here. Everyone here is a "real person", a user just like you. How about telling us what the problem is that you are experiencing when you try to buy a song? If you mean that you have forgotten your security questions, go to:
    https://appleid.apple.com/
    Click "Manage My Account", sign in, and go to the Password and Security section. If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, see the user tip created by Kappy, another user here, on how to proceed:
    https://discussions.apple.com/docs/DOC-4551
    Regards.

  • How can I change my security questions, all of them not just one

    I'm trying to change my security questions but when i recieve the email with the code I can only change one question and when I try to get into my idapple account they ask me for two questions and I dont have both. What can I do.?

    Hi Louiyi,
    Thanks for visiting Apple Support Communities.
    See this article for information about updating your Apple ID information:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    All the best,
    Jeremy

  • Can't play my library: "This computer is already associated with an Apple ID...you can download past purchases on this computer with just one Apple ID every 90 days.  You cannot associate this computer with a different Apple ID for 88 days." Got a fix?

    Since my daughter burned a CD from my computer using our shared libraries I cannot play my library.  This pops up:  "This computer is already associated with an Apple ID.  You can download past purchases on this computer with just one Apple ID every 90 days. You cannot associate this computer with a different Apple ID for 88 days."  I can get as far as viewing my library but listening is denied by this pop-up.  Can anyone help, please?   I just noticed my (this) computer is not showing as registered to my account. Hmmm....a clue perhaps?

    Do you have a question?

  • Automatic Downloads and Strange Error Message: "You can auto-download purchases on this computer with just one Apple ID every 90 days"

    Hi gang-
    Yesterday I noticed that iTunes on my iMac had not auto-downloaded several new songs that I had recently purchased on my iPhone.    In iTunes Preferences, under Store -> Automatic Downloads, I always have Music selected so all songs purchased from any device using my Apple ID normally download automatically.
    To troubleshoot this, I double-checked my Preferences and sure enough, Music was de-selected under Automatic Downloads.   I then Selected it and clicked OK.   Here's where it gets weird and I get this error message:
    This computer is already associated with an Apple ID.  You can auto-download purchases on this computer with just one Apple ID every 90 days. You cannot associate this computer with a different Apple ID for 84 days.
    I read and re-read this message and none of it seems to apply to me.   I have only one Apple ID.   I am currently logged in with iTunes to that one Apple ID.   All my iTunes Music ever has been purchased with that one Apple ID.   I am not trying to associate this computer or any other with a different Apple ID.
    I logged iTunes out and then back in again and tried all the above- but same error message.
    So, as it is now, I am unable to turn on Automatic Downloads in iTunes.   
    Anyone know what the heck is going on?
    Thanks!
    Dave

    Hey gang-
    Okay, this gets more and more bizarre.   I sent a support email to Apple and basically they said  "...it seems that someone else associated your Mac with their Apple ID. That's the reason your purchases won't download."
    Yikes!   My wife and I live alone- and we have exactly one and only one Apple ID.    Would somebody have needed physical access to my iMac to do that?
    Support then said "You can view which devices or computers are currently associated, remove unused devices or computers, and see how long before they can be associated with a different Apple ID from the Account Information page in iTunes on your computer."
    Okay- so I logged into My Account in iTunes.   On the list of associated devices, my own iMac is NOT on that list.   But I am logged in under the same Apple ID I've had for years on that iMac.
    So my big question right now is...if my iMac (that I've owned for 5 years) has somehow been dis-associated from my Apple ID, how do I find out what Apple ID it is associated with?
    Thanks gang for trying to help me unravel a mystery.
    Dave
    PS- Here's an Apple Tech article on iTunes associations, but it doesn't really go beyond what we've discussed above:
    http://support.apple.com/kb/HT4627

  • In pages, when a create a document, potions of it, say several pages will be clumped together and it effects me editing their order.  It is like they are forever joined- How do I edit my document and print just one page or move just one page?

    In pages, when a create a document, potions of it, say several pages will be clumped together and it effects me editing their order.  It is like they are forever joined- How do I edit my document and print just one page or move just one page?

    May you open your eyes before creating a new thread ?
    Your question was already asked and answered today.
    https://discussions.apple.com/thread/3177074?tstart=0
    Yvan KOENIG (VALLAURIS, France) jeudi 14 juillet 2011 14:40:40
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please :
    Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Battery damaged after just one year of use

    I am a medical student residing in hostel.I bought my Lenovo3000N100 notebook in feb'2007.After just one year of very minimal usage, the notebook battery has failed and now requires replacement.
    How can such a company as lenovo's battery expire after 1 yr of use of maybe just 1-2 hours of running time per day or even less???
    Even companies like ACER n HP have given better performance of their batteries which my roomates are using 3years n 2 years running n still working fine without any complains to date.
    This battery problem has created a negative publicity for lenovo in my hostel and now nobody in my hostel or acquaintance wants to buy a lenovo product seeing my condition.
    vkumar
    lenovo notebook 3000 N100
    type 0768-A39
    OS- WindowsXP prof.

    vkumar, welcome to the forum,
    at the top of the 3000 Notebook board is a "sticky"; Notebook battery not getting re-charged. It may be of interest to you, especially this post from Mark_Lenovo.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Need to chart attribute value of just one child node of XML document

    I have a XML document with (for example) 7 parent nodes, each
    parent node has 5 child nodes. The parent nodes have an attribute
    @EarlierDTS (DateTime type) that is the x-axis category of a chart.
    Each child node has an attribute @eventid which specifies the id of
    the event, and another atttribute @NumOccurs which specifies how
    many times that event occured in that period.
    How do I tell Flex I want a simple line chart of the eventID
    = 215? What if I want two lines, for both eventID=215 and
    eventid=307?
    I have studied the posts and blogs for over a week now, and
    have seen this question or similar come up quite a few places, with
    no answer.
    1) Should I focus on learning how to create a filterfunction
    for the XMLList that underlies my XMLListCollection so that the
    filtered data view is just one child node per parent node ( or two
    child nodes for the second case)? And set the filtered data view as
    the dataprovider of my chart's vertical series?
    2) Should I focus on learning how to create a XML Filter
    query that selects just one or two child nodes for each parent
    node, and set the charts' series' dataprovider to this filter
    expression? (I don't think this is allowed - but I'm checking with
    the forum members...)
    3) Should I focus on learning how to convert the
    XMLListCollection into a HierarchicalData object, and then learning
    how to filter this object so there is only one (or two) childs per
    parent? This seems like a lot of coding - I almost have to create a
    pair of classes - one for the parent and one for the child - so I
    can create nested ArrayObjects.
    4) Should I create a brand new XMLList by walking the
    original XML list, and inserting Parent nodes and just the child
    nodes that match the eventID(s) I want to chart, into the new
    XMLList?
    I believe that the easiest way would be to create a
    Filterfunction for the XMLList, and bind the chart series to the
    (filtered) XML List. But the problem with this approach is that I
    have seen more than 2 posts asking how to accomplish filtering that
    removes specific children from the view, with no solutions posted.
    Help! What is the best way to get just one child for each
    parent, from an XMLList?

    "whertzing" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a XML document with (for example) 7 parent nodes,
    each parent node
    >has 5
    > child nodes. The parent nodes have an attribute
    @EarlierDTS (DateTime
    > type)
    > that is the x-axis category of a chart. Each child node
    has an attribute
    > @eventid which specifies the id of the event, and
    another atttribute
    > @NumOccurs
    > which specifies how many times that event occured in
    that period.
    >
    > How do I tell Flex I want a simple line chart of the
    eventID = 215? What
    > if I
    > want two lines, for both eventID=215 and eventid=307?
    >
    > I have studied the posts and blogs for over a week now,
    and have seen this
    > question or similar come up quite a few places, with no
    answer.
    >
    > 1) Should I focus on learning how to create a
    filterfunction for the
    > XMLList
    > that underlies my XMLListCollection so that the filtered
    data view is just
    > one
    > child node per parent node ( or two child nodes for the
    second case)? And
    > set
    > the filtered data view as the dataprovider of my chart's
    vertical series?
    >
    > 2) Should I focus on learning how to create a XML Filter
    query that
    > selects
    > just one or two child nodes for each parent node, and
    set the charts'
    > series'
    > dataprovider to this filter expression? (I don't think
    this is allowed -
    > but
    > I'm checking with the forum members...)
    >
    > 3) Should I focus on learning how to convert the
    XMLListCollection into a
    > HierarchicalData object, and then learning how to filter
    this object so
    > there
    > is only one (or two) childs per parent? This seems like
    a lot of coding -
    > I
    > almost have to create a pair of classes - one for the
    parent and one for
    > the
    > child - so I can create nested ArrayObjects.
    >
    > 4) Should I create a brand new XMLList by walking the
    original XML list,
    > and
    > inserting Parent nodes and just the child nodes that
    match the eventID(s)
    > I
    > want to chart, into the new XMLList?
    >
    > I believe that the easiest way would be to create a
    Filterfunction for the
    > XMLList, and bind the chart series to the (filtered) XML
    List. But the
    > problem
    > with this approach is that I have seen more than 2 posts
    asking how to
    > accomplish filtering that removes specific children from
    the view, with no
    > solutions posted.
    >
    > Help! What is the best way to get just one child for
    each parent, from an
    > XMLList?
    I'd just look at a dataFunction. There's an example here that
    may point you
    in the right direction:
    http://flexdiary.blogspot.com/2008/08/charting-example.html
    HTH;
    Amy

  • Can I record everything in just one slide?

    Hello,
    I’m trying to create an 30-second flash animation of
    our software, with some textual callouts. Since I’ve got the
    Adobe Technical Communication Suite, I figured I’d use
    Captivate for the job, but I’m new to it and can’t get
    my head around some things. If someone has the time to point me in
    the right direction, I’d appreciate it. I have tried checking
    the help and rummaging through forums, but still can’t get it
    to work the way I want.
    I’m using the “Full Motion Recording” mode,
    since our software is pretty interactive in real-time and I want to
    show that. All I want is to do is record about 30 seconds of me
    using our software, and afterwards add text callouts here and
    there, before exporting to an .swf file.
    Question 1: Captivate automatically chops up my recording
    into several “slides”, is there a way to make it put
    everything in just one slide? Or set the default time of a slide in
    order to get my entire recording in one single slide? The problem
    is, if I want to place a callout just between two slides…
    well, I can’t do that right? I just want one and the same
    timeline for my entire recording.
    Question 2: After the recording is done, is there a way to
    adjust the speed, or pause, certain segments of the recording? For
    example, if I realize that the viewer of my flash video needs a
    couple of seconds longer to read a certain callout, I want to
    “pause” or “extend” that point in the
    timeline for a bit. Can I do that, or do I need to record the
    entire thing from the beginning and actually pause myself at the
    appropriate time?
    I’d be thankful for all advice and suggestions. I
    realize I’m new to this, so any nudges in the right direction
    would be appreciated!
    /Tom

    Hey there Tom
    From my experience, the only time I need full motion is
    during a drag & drop or scrolling type of action when the view
    "moves" like a film.
    My suggestion is that you plan what you want to do (click
    here, then there, then select that button etc.)
    Step 2 is to start a new project and select "Demonstration"
    as the recording type, spec the size of the recording window if
    needed and start recording (You might want to use auto capture
    which would automatically record all interactions and key strokes,
    but please remember to "manually" capture certain screens using
    Print Screen e.g. after a drop down menu has opened.) (Hint 2 -
    Rather record too many screens than miss one critical one out)
    Step 3 would be to stop recording and edit the individual
    slides with captions, animations etc. At this stage, you can
    specify exactly how long each screen would display, when your
    captions etc appear and for how long they show.
    In summary, a decently built demo has a seperate slide for
    each change in what the user would see on the screen, with FMR
    being used to "tie together" 2 views where a movement action causes
    the transition.
    Hope this helps
    Andrew

  • EAM ID based or Role based? Why settle for just one?

    G'Day All,
    I've raised a question in the following blog, however I would like to open it up to other people as well so they might get something out of it and in the process might share their own thoughts on the matter at hand.
    ID-Based Firefighting vs. Role-Based Firefighting
    So this is where I am at this point:
    From what I can gather so far, my understanding of EAM ID/ROLE based is as follows:
    - Id Based: Logs in using own U.ID and through GRAC_SPM accesess FFID from the GRC Server and logs into the system assigned to them (ECC, SRM, CRM etc)
    Only one user at a time can use a FFID.
    Firefighter need not exist in every system assigned to them due to central logon however they need to exist in the GRC system
    Knows exactly when FFID is being used as he/she has to login so has a psychological effect (good thing)
    Better tracking of FF tasks - Specific log reports with Reason Codes. Bonus point from Auditors!
    Two Log ins so potential to commit fraud. (1 action using own UserID and 1 action using FFID)
    Could be hard to track and find out when a fraud has been committed so can be a problem with auditors.
          ID Based -> GRAC_SPM : TCode for Centralised FFighting -> You will see FFIDs assigned to you
          ID Based -> /n/GRCPI/GRIA_EAM : TCode for DCentralised FFighting -> You can see  the FFIDs assigned to you
    - Role Based: Logs into the remote system only using U.ID, so everything gets logged against that one ID. 
    Multiple users can use the FFROLE at once.
    Firefighter has to exist in every system assigned to them - so multiple logons.
    Hard to differentiate between FF tasks and normal tasks as no login required  So easy to slip up
    Time consuming to track FF tasks - No Specific log reports. No Reason Codes
         R.Based -> GRAC_SPM : TCode for Centralised FFighting -> You will see FFROLEs
         R.Based -> /n/GRCPI/GRIA_EAM : TCode for DCentralised FFighting -> Not applicable so wont work
    So based on this there are pros and cons in both however according to SAP only one can be used. To me personally,  it makes more sense to get the best of both the worlds right? So here is my question why can’t we just use both?
        . Really critical tasks -> FFID
        . Normal EAM tasks -> FFRole
    Alessandaro from the original post pointed this out:
    "Per design it isn't possible to achieve both types of firefighting at the same time. It's a system limitation and hence to configurable."
    Well this is what I can't seem to get my head around. For a FFID, there is a logon session so it has to be enabled and as far as I can tell there is no way around it.
    However for FFRole, there isn't such limitations/restrictions like starting a separate session. FFRole is just assigned to an end user for him/her to perform those tasks using their own user ID.
    So in what way is it different from any of their other tasks/roles, other than the fact that they've got an Owner/Controller assigned to the FFRole? and
    What is stopping us from using it when ID based is the default?
    If I were to do the following does it mean I can use both ?
        . Config Parameter: 4000 = 1 (GRC System) -> ID Based
        . Config Parameter: 4000 = 2 (Plug-In)  - > Role Based
    Please excuse me if my logic is a bit silly, Role Based firefighting is only done on Plug-in systems so the following should work just fine:
       . Config Parameter: 4000 = 2 (Plug-In)  - > Role Based
    However for ID based, it is a Central Logon, so the following is a must:
        . Config Parameter: 4000 = 1 (GRC System) -> ID Based
    Which means both ID/Role based can be used at the same time, which seems to be working just fine on my system. Either way I leave it you experts and I hope you will shed some light on it.
    Cheers
    Leo..

    Gretchen,
    Thank you for thoughts on this.
    Looks like I'm failing to articulate my thoughts properly as the conversation seems to be going in a different direction from what I am after. I'll try once more!
    My query/issue is not in regards to if/what SAP needs to do about this or why there isn't more support from Companies/Organizations and not even, which one is a better option.
    My query is what is stopping us(as in the end users ) from using both ID/Role based at the same time?
    Now before people start referencing SAP documentation and about parameter 4000, humour me with the following scenario please. Again I would like to reiterate that I am still in the learning phase so my logic might be all wrong/misguided, so please do point out to me where I am going wrong in my thought process as I sincerely would like to know why I am the odd one out in regards to this.
    Scenario
    I've created the following:
    FFID
    FFROLE
    Assigned them to, two end users
    John Doe
    Jane Doe
    I set the Configuration Parameters as follows: 
    IMG-> GRC-> AC-> Maintain Configuration Settings -> 4000:1 - ID Based
    IMG-> GRC (Plug-in)-> AC-> Maintain Plug-In Configuration Settings-> 4000:2 - Role Based
    User1
    John Doe logs into his regular backend system (ECCPROD001)-> executes GRAC_SPM-> Enters the GRC system (GRCPROD001)-> Because the parameter is set to ID based in the GRC Box, so he will be able to see the FFID assigned to him-> and will be presented with the logon screen-> Logs in -> Enters the assigned system (lets say CRMPROD001) At this point the firefighting session is under progress
    User2
    Jane Doe logs into her regular backend system (ECCPROD001) -> (can execute GRAC_SPM to check which FF Role has been assigned to her but she can see that in her regular menu, so there is no point) -> Executes the transactions assigned in FFROLEThis is done at the same time while FFID session is in progress
    So all I want to know is if this scenario is possible? if the answer is No, then why not?
    I physically carried out this scenario in my system and I had no problems(unless I am really missing the plot here), which brings me back to my original question: Why settle for just one?
    Again to reiterate I am not getting into the efficacy or merits of this or even if one should use this. Just want to know if it is possible/feasible or not.
    So there you have it. That's the whole enchilada(as they say there in Texas). I tried to word my thoughts as concisely as I can, if there are still any clarifications, more information you or anyone else reading this would like, please do let me know.
    Regards,
    Leo..

  • How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.

    How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

Maybe you are looking for

  • ALV Output Screen ..........

    Hi Experts, In ALV report for FM  we use PF_STATUS_SET.   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'     EXPORTING       i_callback_pf_status_set = 'PF_STATUS_SET' For each time we have to go in se41 and copy the standard screen full screen for : FORM pf

  • I cannot print a jpg attachment from my PC or iphone to my HP c510a printer. I can send text tho

    HP Photosmart c510a PC windows 7 64bit eprint.com has all my jpg attachments as pending.  Not printing.  Word docs print tho.  just no pics. See no error messages on the zeen and I get reply emails thanking me for using the serice, do I want to parti

  • Strange Issues with Apple TV & Apple iPhone when using iPhoto?

    Im not sure if this is the right forum but since iPhoto seems to be the only missing link to my problem - I hope someone can help me out. First let me explain my situation in great detail so I dont steer anyone in the wrong direction. Of course every

  • Pricing : Frieght calculation - differentiate Header and Item level

    Dear friends, I have a requirement wherein I have to find the sum of the gross weight of all line items at header level and round off the value to the next 500 gms.This value will be shown at the Header Conditions tab in the condition record ZFRD. Th

  • John M

    Are the winsdows and mac versions of indesign compatible with each other? We are both PC and Mac based and I'd like to pass artwork between the two. Is this possible? Thanks!