Problem : Not able to select multiple checkboxes in the JTable

Here i am trying to select the multiple check boxes in the jtable. But i am not able to do that. I set the jTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); also.
Can any one help on this...

[email protected] wrote:
Here i am trying to select the multiple check boxes in the jtable. But i am not able to do that. I set the jTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); also.
Can any one help on this...That's row selection, not check boxes. The normal way to have active checkboxes in a JTable is with an editable Boolean column. The effect of clicking such a checkbox is to cause the table to call setValueAt() in the data model with a Boolean object value, and it's up to the data model to deal with that change.

Similar Messages

  • Downloaded Mountain Lion and now not able to select multiple email messages at a time for deletion what gives?

    Downloaded ML last night now one little glitch seems to be that I cannot select multiple messages at a time to delete. With the massive amount of email I receive, this is a problem. Cannot seem to find any simple fixes in preferences. Any ideas?

    you could use one hand to do this, before ML. select one email and drag up/down with the cursor to select more. selecting/shift key is the normal multiple selection operation. that's two handed.
    if there is empty space at the bottom, it works.
    i did submit this through the feedback process. i hope the functionality returns.

  • Not able to select physicalschema directory for file data server in ODI 11g

    Hi,
    I am a beginner to ODI tech and stuck up with an error while doing a tutorial (mentioned in this link - http://st-curriculum.oracle.com/obe/fmw/odi/odi_11g/ODIproject_ff-to-ff/ODIproject_flatfile-to-flatfile.htm).
    While creating a physical schema for default file server(FILE_GENERIC) , I am not able to select schema directories and the name field with value 'FILE_GENERIC.Directory' is grayed out (non editable)
    I have gone through many documents but could not find any relevant information for this.
    So could you please let me know if any configurations required for this?
    Thanks,
    Anusha

    Hi Oleg,
    Thanks for your reply.
    While creation of physical schema , Name field is grayed out , is that the default behaviour of the screen? because in the tutorial I could see the name filead is pointing to a file directory path.
    Thanks,
    Anusha

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Not able to select value in MSC1N

    Hello All,
    I am trying to create the batch using MSC1N. I am not able to select the characteristics values for few characteristcs. I am using selected sets and code groups for those characterisctis. For others it is working properly. I am getting the error as "Value "Z033000  0010" cannot be selected
    Message no. C1853
    Diagnosis
    From a value hierarchy, you want to choose a value that has subordinate values. This is not possible. You can only choose the lowest values in a value hierarchy.
    Procedure
    Explode the structure down to the lowest values and choose one of these.
    Please guide me asap.
    Regards,
    Mayura

    It sounds like you have multiple values available in the characteristic in your batch class.  I'm guessing that the characteristics you are having problems with are set up differently than the ones you aren't having problems with.
    It sounds like SAP thinks that because you selected code A, you can now pick from Codes X,Y,Z.  But if you had selected code B, you can only pick from Codes L,M,N.  The message is saying you have to pick directly from one of these lower subordinate codes.  You can't select Code A as  your choice because it's not an actual choic, ,only a pathway to let you pick from X,Y,Z.
    I'm not sure exaclty how you have your charateristics set up but his sounds like it has variant configuration involved in it.
    FF

  • Control key not working when selecting multiple photos for email

    Okay, I can't seem to send more than one photo through email no matter how I try to "select them." I am able to select the photos from the photo library. I see the little scrolling screen at the top of the page and then use the control key to select the photos which appear in the larger screen beneath. The problem is, is that I can't send all of the pictures through email, it thinks I am only trying to send one. When I look at the big screen with the pictures I have selected it looks like only one is highlighted and no matter what I try (the control key, shift key) it won't select them, it pops up with an picture editing function. Is my iphoto screwed up? Help!

    Okay, I tried both. I clicked <done> at the bottom of the screen and the scroll bar at the top disappeared and then I just see one large photo. The only thing that happens when I double click on the large photo is that it comes back to the scroll bar at the top again, or vice versa. Does that make sense? I'm seriously wondering if my software is screwed up. My husband finally was able to send multiple pictures via email by creating a slideshow and selecting the pictures that way. (iphoto help says you are not able to select pictures to send through email through a slide show....go figure.) I still need to get out of this mode and don't know what to do! Any other suggestions?

  • Selecting multiple checkboxes...Please Help!!!

    I am having an issue I have multiple checkboxes - once the checkboxes are selected, I would like some information to appear in a field and if checkbox is deselected I would like the text to disappear.
    My major problem is if all the checkboxes are selected at one time and the information appears in the textbox only one line of text will appear at once and I would also like for text to appear on separate lines and not on the same line.
    This is what I am working with now:
    if 
    (RadioButtonList4.rawValue == true) TextField.rawValue
    = "This is a value set using a script.";
    else
    TextField1.rawValue
    = "";
    Please Help
    Tammi

    Humm... did you make the Textfield multiline? (Sry but the easiest solutions often are overseen.)
    Okey I try to get what you want. I hope I got you right and didn't completly missunderstand you...
    Let's assume there are 4 checkboxes.
    Okey so the user has 5 options. He can choose each of the checkboxes and NO more or he can choose them all...
    choosing 2 out of 4 is not possible.
    javascript:
    if (this.rawValue == 1 && (checkbox1.rawValue == 1 || checkbox3.rawValue == 1 || checkbox4.rawValue == 1))
    // will select everything when more then one checkbox is selected... this one only goes for checkbox 2 the other are nearly the same though!!!
         checkbox1.rawValue = 1;
         checkbox2.rawValue = 1;
         checkbox3.rawValue = 1;
         checkbox4.rawValue = 1;
    if (this.rawValue == 0) // will deselect everything if one checkbox is deselected...
         checkbox1.rawValue = 0;
         checkbox2.rawValue = 0;
         checkbox3.rawValue = 0;
         checkbox4.rawValue = 0;
    Then you create a Textfield (where you normally input things) and put on the calculate event:
    if (checkbox1.rawValue == 1 || checkbox2.rawValue == 1 || checkbox3.rawValue == 1 || checkbox4.rawValue == 1)
    // will show up if one checkbox is checked. If you want it only to show up if all checkboxes are checked use && instead of ||
    this.presence = "visible";
    else
    this.presence = "invisible";
    if (checkbox1.rawValue == 1 && checkbox2 == 0)
    {this.rawValue = "only checkbox1 is selected";}
    if (checkbox2.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    if (checkbox3.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    if (checkbox4.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    //what will appear if it is only a single checkbox that is selected
    if (checkbox1.rawValue == 1 && checkbox2.rawValue == 1) //don't need the others since it is just one or all
    {this.rawValue = "all checkboxes are selected \ncheck1 \ncheck2 \ncheck3 \ncheck4"}
    The thing is, I don't think you can easily input data in static "text"fields. Since you already know how to show and hide you can do that one on your own I think ^^
    If I missunderstood you and you just want to add/change the text by the checkboxes that are selected plz say so.
    If I got you totally wrong and you just have let's say 10 checkboxes which can be selected and deselected and each one will provide a textfield with data, I can make you a little script for the calculate event...
    Just tell me how many checkboxes they are... could get much to write (especially if they are more checkboxes) but I've got a script that will create even long scripts really fast

  • I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them.

    I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them. How do I completely clear my ipod music, and how can I solve the syncing problem?

    Sync works the same way it always has, connect the device, select the content desired to sync and sync.
    All the media should be in iTunes already, iDevices are not and have never been backup devices.
    If this is a new computer, move the content from the old computer to the new computer.

  • Problem: Not able to change Signature field reason code Dynamically using signatureSetSeedValue

    Problem: Not able to change Signature Settings Dynamically.  
    What I want: Need to change the Signature Field Reason code Dynamically upon selecting Radio Button.
    Here is My Code:  
    var mydoc = xfa.resolveNode("FormData.P3_443.signature[2].ePadSignatureField3");
    mydoc.signatureSetSeedValue(
    reasons: ["Advisor"],
    flags: 8
    Error Message:
    TypeError: mydoc.signatureSetSeedValue is not a function
    9:XFA:FormData[0]:P3_443[0]:signature[2]:ePadSignatureField3[0]:validate'
       Source Code: Acrobat Code for Signature.
       // Obtain the signature field object:
    var f = this.getField("mySigFieldName");
    f.signatureSetSeedValue(
    { reasons: ["This is a reason", "This is a better reason"],
    flags: 8

    Problem: Not able to change Signature Settings Dynamically.  
    What I want: Need to change the Signature Field Reason code Dynamically upon selecting Radio Button.
    Here is My Code:  
    var mydoc = xfa.resolveNode("FormData.P3_443.signature[2].ePadSignatureField3");
    mydoc.signatureSetSeedValue(
    reasons: ["Advisor"],
    flags: 8
    Error Message:
    TypeError: mydoc.signatureSetSeedValue is not a function
    9:XFA:FormData[0]:P3_443[0]:signature[2]:ePadSignatureField3[0]:validate'
       Source Code: Acrobat Code for Signature.
       // Obtain the signature field object:
    var f = this.getField("mySigFieldName");
    f.signatureSetSeedValue(
    { reasons: ["This is a reason", "This is a better reason"],
    flags: 8

  • Not able to print multiple copies

    Hi All,
    We are not able to print multiple copies on network printer having device type HP LaserJet2430 even though we are giving no. of copies as 3 or 4 while creating spool request.
    Please help me to solve this issue.
    OS - windows.
    SAP 4.7 EE
    Thanks in Advance,
    Basis Admin

    Hi,
    Give one test print from OS Level mostly, this will be problem in printer configuration
    Regards,
    Ramesh.B

  • Not able to select speaker setup in creative audio cons

    Hi, I'm using Creative X-FI Music. Due to a recent re-installation to Vista, after re-installation of drivers and software (with updates from creative support website), I'm still not able to select the speaker setup directly from the audio console. This has prevent me from calibrating my 5. speaker setu
    ps.
    Please help? Thanks....

    what's your os? if you have xp, you should try sp2...that fixed the problems i was having with my card when i upgraded...try telling windows to go to 5. sound through the sound devices in control panel and then go back to surrmixer and see if that works...

  • Not able to select a row in ALV in Webdynpro

    Hi everyone,
    I have developed a webdynpro application and I have declared component usage for SALV_WD_TABLE.
    The data gets displayed in the ALV, but always the first row is selected.
    When I try to select another row,I am not able to select.
    Could anyone please suggest what might be the problem ?
    Thanks in advance.
    Regards,
    Kumudha.

    Hi Manas,
    Thanks for the inputs.
    I am placing the code below for your reference.
    I try to change the below as Display Text as Code...But it is not happening Plz check
    method wddoinit.
      if wd_this->ls_setup is initial.
        select single * from yyua_c_setup into wd_this->ls_setup
          where system_id = sy-sysid.
      endif.
      "adjustments for ALV
      data lo_cmp_usage type ref to if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
      data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
      data: l_value type ref to cl_salv_wd_config_table,
            lr_header_t type ref to cl_salv_wd_header,
            lv_text type string.
      l_value = l_ref_interfacecontroller->get_model( ).
      data: lr_column_settings type ref to if_salv_wd_column_settings,
            lr_input_field type ref to cl_salv_wd_uie_input_field,
            lr_column type ref to cl_salv_wd_column.
    Set column title and position
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'CSINSTA' ).
      lr_column->set_position( 1 ).
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/REQUEST_NUMBER' ).
      lr_column->r_header->set_text( 'Installation' ).
      lr_column->r_header->set_ddic_binding_field( '00' ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFUNAME' ).
         |
      lr_column->set_position( 18 ).
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/ACTIVITY_DATE' ).
      lr_column->r_header->set_text( 'Job profile ext' ).
      lr_column->r_header->set_ddic_binding_field( '00' ).
    Hide columns
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFTSTMP' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'AETSTMP' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'STATUS' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'PRIO' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ISSUE' ).
      lr_column->set_visible( 0 ).
      data: lr_functions type ref to if_salv_wd_function_settings,
            lr_function type ref to cl_salv_wd_function,
            lr_button_t type ref to cl_salv_wd_fe_button.
    Add self-defined functions in toolbar
      lr_functions ?= l_value.
      lr_function = lr_functions->create_function( 'SELECT' ).
      create object lr_button_t.
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/VIEW' ).
      lr_button_t->set_text( 'Select' ).
      lr_function->set_editor( lr_button_t ).
    data : LR_FUNCTION_SETTINGS TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
    create object LR_FUNCTION_SETTINGS.
    SET row selectable as true
    CALL METHOD LR_FUNCTION_SETTINGS->IF_SALV_WD_TABLE_SETTINGS~SET_ROW_SELECTABLE
    EXPORTING
    VALUE = ABAP_TRUE.
    endmethod
    Regards,
    Kumudha.

  • Not able to select lineitems in planner monitor,SAP GRC10 PC

    Hello Experts,
    We have created plans and we can able to see created plans in planner monitor under assessment planning in NWBC
    we can able to select the plan name and send to recipient by using Notify button up to this everything is fine
    but when we want to send more than one plans to recipients,not able to select the line items.
    any idea to resolve this.
    Thanks
    GRC Admin

    Hi,
    Even if you can choose multiple lines by pressing ctrl key, Notification is
    allowed for one plan at once. So, it won't allow you to do so.
    Regards,
    Smita.

  • Not able to select MS SQL Server tables in sqldeveloper using dblink

    Hi All,
    I able tp select MS SQL table columns in sqlplus prompt but i am not able to select same thing in sql developer using dblink.
    If i use convert(<mycol>,'WE8ISO8859P1','utf8') in sqldeveloper its working, how to select MS SQL columns without convert function.
    Thanks,
    -Mani

    Mani,
    This is a problem with SQL*Developer and converting nvarchar characters.
    The workround is to install the Oracle client software and use the option in SQL*Developer -
    - Tools
    - Preferences
    - Database
    - Advanced
    - and click the 'Use OCI/Thick driver' option.
    I made these steps -
    - download the 11.1 client software from eDelivery -
    http://edelivery.oracle.com/
    - go through the administration screens (name, etc)
    - on the next screen ' Media Pack Search' screen choose -
    - Select a Product Pack - Oracle database
    - Platform - Microsoft Windows (32-bit)
    - Oracle® Database 11g Release 1 (11.1.0.6.0) Media Pack for Microsoft Windows (32-bit)
    - then download -
    Oracle® Database 11g Release 1 Client (11.1.0.6.0) for Microsoft Windows (32-bit) CD
    - Install the Instant Client and also apply the 11.10.7 patchset to the ORACLE_HOME where you install the client. (if you are using 11.1.0.7 RDBMS)
    - for Windows change the PATH system variable to make sure the 11.1 RDBMS and Client ORACLE_HOME directories are listed before any other Oracle directories
    - started SQL*Developer and clicked the 'Use OCI/Thick driver' option
    - could then run the select -
    select "col2" from test_nvarchar@dg4msql ;
    without any problems.
    If this is still a problem for you then let us know the description of the columns in the SQL*Server table that give the problem and the exact errors you receive.
    Regards,
    Mike

  • Not able to select setup language while installing Crystal report2011.

    Hi,
    I am using windows 7 and trying to install Crystal report 2011 and SAP BusinessObjects 4.0 on my system. I have Java 7 update 51 version on my system.
    I am unable to select setup language while installing Crystal Reports2011/SAP BO4.0. It does not show default language 'as English' over there.
    It shows all fields with # sign like  #Choosesetuplanguage# and other buttons also appears like this #Ok# and #cancel#. It does not show any language in drop-down, hence I am not able to select language from drop-down box. Drop-down box is blank.
    When I click on #Ok# button it shows new message like #Validation failed#.
    Please help.
    Thanks.

    mmmm. That is odd, must be something missing or permission problem.
    Log out and log back in as the local PC Adminsitrator and do a repair install, may have to completely uninstall and re-install it again.
    That messed up dialog text suggests you don't have something installed correctly or access denied error.
    Look in the install log, should be in your \%user%\AppData\Local\Temp folder. See if it has any access denied errors.
    But try instlaling under local PC Admin account first.
    Don

Maybe you are looking for

  • Macbook Pro won't turn on or chime after 10.5.8 update

    I updated my original 17" MacBook Pro to 10.5.8, restarted as it said to, and it wouldn't log in. Then I rebooted, or tried to, to find nothing. The lights turn on as if it is starting up, but the screen doesn't turn on, and the computer doesn't chim

  • My mpeg-4 looks like crap

    i was uploading to vimeo, exporting from a final cut pro hd 4.5 file using quicktime 7.6.6 conversion, here's the link to the settings i used: http://vimeo.com/help/compression any advice would be much appreciated!

  • IBook as key board for iMac

    Hi everyone. I just got a new G4 iBook and was wondering if there is any way to use it as a wireless keyboard (and maybe a wireless mouse) for my G5 iMac.

  • Code works in html not in jsp y

    the bello code works in html but not in jsp y <img src="images/logo.gif">this code is well running in html when i saved it as .jsp it doesn't works ie the image is not displaying y. could u help me

  • Hi need help..very urgent..

    Hi ABAPers, I am very new to ABAP..i need help in coding this following logic,,, Can anyone help me in coding this following logic.. Step 1.  Retrieve customer number KUNNR from VBAK Step 2.  Pass customer number KUNNR to KNA1 and retrieve address nu