How can I check which JRadioButton is selected in whichTabbedPane?

Hello,
I have several TabbedPanes with a mass of JRadioButtons in one ButtonGroup. Now I search an easy way how I can find out which RadioButton is selected in which TabbedPane. With "getParent()" I can get a lot but not e.g. the name of the TabbedPane.
Thanks for your help
Arthur

I'm not sure that it's what you want but you can do something like this:
for the checked radio button to getParent and then
to try
int i = tabbedPane.indexOfComponent( checkedRadioButton );
and if you know the indexing of your radionbuttons you can find, It's for sure not nice
solution but it is the first what come to me ;-).
Best regards.

Similar Messages

  • How can I check which documents are stored on iCloud?

    How can I check which documents are stored on iCloud?

    Welcome to the Apple Community.
    You can see in a number of ways, the easiest is probably by logging into your account at ...
    iCloud.com
    on your computer.

  • SCOM event ID 2115 - how can we check which which monitors or rules caused the issue

    A Bind Data Source in Management Group XXX has posted items to the workflow, but has not received a response in 8220 seconds.  This indicates a performance or functional problem with the workflow.
     Workflow Id : Microsoft.SystemCenter.CollectDiscoveryData
     Instance    : XXX
     Instance Id : {FB2DDD17-A942-4D7E-1EA6-09A5351CAB07}
    A Bind Data Source in Management Group XXX has posted items to the workflow, but has not received a response in 8220 seconds.  This indicates a performance or functional problem with the workflow.
     Workflow Id : Microsoft.SystemCenter.CollectPerformanceData
     Instance    : XXX
     Instance Id : {FB2DDD17-A942-4D7E-1EA6-09A5351CAB07}
    A Bind Data Source in Management Group XXX has posted items to the workflow, but has not received a response in 7980 seconds.  This indicates a performance or functional problem with the workflow.
     Workflow Id : Microsoft.SystemCenter.CollectDiscoveryData
     Instance    : XXX
     Instance Id : {FB2DDD17-A942-4D7E-1EA6-09A5351CAB07}

    Hi
    Please refer below link for this issue
    https://support2.microsoft.com/kb/2681388?wa=wsignin1.0
    http://blogs.technet.com/b/kevinholman/archive/2008/04/21/event-id-2115-a-bind-data-source-in-management-group.aspx
    http://blogs.technet.com/b/momteam/archive/2012/04/17/kb-how-to-troubleshoot-event-id-2115-in-operations-manager.aspx
    you can find the object name for GID using powershell and sql query on operation manager :
    Powershell :
    (Get-MonitoringObject -id ‘GUID′).DisplayName
    sql query :
    Select * from BaseManagedEntity where BaseManagedEntityID = ‘GUID‘
    Regards
    sridhar v

  • I know some of my photos have NOT been imported in to the iPhoto library. How can I find which ones?

    In error, for a period, I had iPhoto set up such that photos were not imported into the iPhoto library but left scattered around my iMac. How can I find which ones without selecting each individual photo - there are nearly 9,000?

    Are you able to view them in full size in the library, i.e. don't get this
    when you try to view the photo in full size?  If you can then you can do the following to consolidate all of the master image files inside the library.
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,
    2 -  select the library you want to add from those in the selection window.
    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.
    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.

  • IOS obviously allows only 10 Apps to be Chosen in The "Open in" function. How can I control which Apps ( if more than 10 are installed) can be selected?

    iOS obviously allows only 10 Apps to be Chosen in The "Open in" function. How can I control which Apps ( if more than 10 are installed) can be selected?

    I think that is influenced by the order in which the apps are installed on the iPad (I believe that it's the most recent 10 ?) - but as I haven't got more than 10 apps that support any document/file type I can't check.
    If you want to able to edit the list, then you could try leaving feedback for Apple : http://www.apple.com/feedback/ipad.html

  • How can i check the selection profile

    Hi Friends,
    In BS42 have assigned selection  status profile to status profile and few status are assigned to status profile(CRTD, APRV and REL)
    In BS42 i can assign one type of status profile(say XXX) to more than on type of selection profiles(say AAA;BBB;CCC).
    Now I am creating a appropriation request (AR). Now have approved AR. and if I check in AR-->Control data tab and clicking on display status overview i m getting here asystem and user status overview and after scrolling down I can see the status profile.
    Now in AR how can I check that which type of selection status  profile it is choosing though I am able to see the status profile.
    Any pointers
    Regards
    Ashutosh

    status selection profile is used to restrcit the selection of objects from the database
    if you AR with REL and the status selection profile allows REL then this AR will be se;ected and displayed in the report.
    You cannot see the status selection profile in any tabs on the object as you can see the system ans user status

  • I would like to know where my iPhone come from which country. how can I check it? please kindly advise me. Thanks

    i would like to know where my iPhone come from which country. how can I check it? please kindly advise me. Thanks

    It read it already, but it did not mention about the country. I can saw "Designed by Apple in California. Assembled in China". but it does not mean that the iPhone comes from US or China. I mean that what model come from which country. thanks for your help anyway.

  • How can i check the file  which is upload from  the server

    when upload the excel file from the server file to the internal table ,how can i check the data whether it accord with  the required condition .
    for example ,i want to upload the file which have the data whose type is pack, and it have three integer and  two decimal ,how can i check in my code.
    thanks,

    Hi Sichen,
    First upload the file, Then do ur validations and delete the records that doesn't satisfy ur requirements.
    Thanks,
    Vinod.

  • How can i check the devices which are connected with my AirPort Express?

    I saw an unknown device in the app 'Who Uses My Wifi?', how can i check it through AirPort Utility and can i remove this device by the app?

    Open AirPort Utility
    Hold down the option key on your Mac while you double click the picture of the AirPort router
    Currently connected wireless ciients will be displayed
    Don't forget about the wireless printer you might have, baby monitor, wireless thermostat and other items that connect using wireless. They will appear on your check.....not just computers or iPhones, etc.
    If you have 3 wireless devices, and you see 4 devices connected, you may have an unwanted guest.
    If you are using good wireless security, like WPA2 Personal, and a good password, it is extremely unlikely that another device will be on your network

  • How can i access my old correspondense with old password in Mozilla Thunderbird? How can i check out from my password?

    I had my website moved to other hosting. Accordingly, i changed a password, and when i checked in on my computer the first time with a new password, i stupidly checked the box "remember me on this computer", but i lost access to all my old emails that were laying in Thunderbird on my PC. How can i check out from the current password and log in with the old one so that i could access my old correspondense?

    '''Pop mail accounts '''can only access the server Inbox.
    Messages are downloaded to your computer and stored in the Thunderbird Profile mail account.
    Usually, the copy on the server is removed unless you select to 'leave messages on server' in Account Settings..
    'Tools' > 'Account Settings' > 'Server Settings' for pop mail account.
    These emails are stored on your computer and can be accessed in both 'online' and 'offline' mode.
    You would need to make sure you periodically create a backup of these emails.
    '''IMAP mail accounts '''see a remote view of any subscribed folder on the server.
    Subscribed folders download headers only and when you select to read an email, it is retrieved from the server and stored in a temporary cache to faciltate quick access to reading.
    These emails are not stored in your Thunderbird profile folders on your computer, so would not be visible if you changed to 'offline' mode. They are stored on the server.
    If you did not synchronise those subscribed folders then a copy was never stored in your Thunderbird profile imap mail account.
    As you have modified the IMAP mail account and it is currently accessing the new hosting server, so cannot display anything on a different server, I would leave it alone because it is working just fine.
    What you could try is to create a new IMAP mail account with server settings to the old host server using the old password.
    File > New > exisitng mail account
    Enter name, email address and password
    click on 'Continue'
    If you do manage to get access, then synchronise the subscribed folders to get a copy downloaded to Thunderbird Profile folders. As those folders are constantly updating to match the server, once you have the emails downloaded, go into 'offline' mode and move them into 'Local Folders'; you will need to make new folders in Local Folders account for those emails.
    However, it is possible that you may not get access as that contract has ended. There is no obligation for the old host company to keep your emails if you do not have an account with them. In which case those emails will be lost.
    After creating new imap mail account, if you get access do as advised to get emails into Local Folders, once emails are in Local folders you can remove/delete the imap mail account. If it does not work, you can delete the imap mail account.
    Information on synchronising subscribed folders:
    * https://support.mozilla.org/en-US/kb/imap-synchronization
    Information on backup:
    * http://kb.mozillazine.org/Profile_backup
    * http://kb.mozillazine.org/IMAP_backup

  • On the web how can I check the user role to display the form suitable for this role i

    Hello
    How can I check on the web the use role to display the a form for each role
    Example
    If the admin login I display admin_form.fmb and if user login I display
    user_form.fmb
    Thankx
    Tamer

    In my forms I hide tab pages according the role using something like the following script in the WHEN_NEW_FORM_INSTANCE trigger.
    So the user can not navigate to tabs which are vorbiden by his role.
    CURSOR users_roles_cur IS SELECT granted_role FROM user_role_privs
    WHERE username=(SELECT user FROM dual);
    user_roles_rec users_roles_cur%ROWTYPE;
    IF users_roles_cur%ISOPEN
    THEN
    CLOSE users_roles_cur;
    END IF;
    OPEN users_roles_cur;
    LOOP
    FETCH users_roles_cur INTO user_roles_rec;
    EXIT WHEN users_roles_cur%NOTFOUND;
    MESSAGE (user_roles_rec.granted_role);
    PAUSE;
    IF RTRIM(user_roles_rec.granted_role,' ') = 'BLA-BLA'
    THEN
    tb_pg_id := FIND_TAB_PAGE('activity');
    IF GET_TAB_PAGE_PROPERTY(tb_pg_id, visible) = 'FALSE' THEN
    SET_TAB_PAGE_PROPERTY(tb_pg_id, visible, property_true);
    END IF;
    END IF;
    END LOOP;
    CLOSE users_roles_cur;
    Other solution may be is to use an initial form which only will detect the user role and run the appropriate form.
    Other solutions are also possible.
    Joseph

  • How can i use SUM aggregate in select query?

    HI,
    GURUS,
    How can i use SUM function in Select Query and i want to store that value into itab.
    for ex:
    TABLES: vbap.
    types: begin of ty_vbap,
           incluse type vbap,
           sum type string,
          end of ty_vbap.
    data: i_vbap type TABLE OF ty_vbap,
          w_vbap type ty_vbap.
    SELECT sum(posnr) FROM vbap into table i_vbap up to 5 rows.
                            (or)
    SELECT sum(posnr) FROM vbap into table i_vbap group by vbeln.
      loop at i_vbap into w_vbap
    " which variable have to use to display summed value.
      endloop.
    if above code is not understandable pleas give ome sample code on  above query.
    Thank u,
    shabeer ahmed.

    Hi,
    Check this sample code.
    TABLES SBOOK.
    DATA:  COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
    DATA:  CONNID LIKE SBOOK-CONNID.
    SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
           INTO (CONNID, COUNT, SUM, AVG)
           FROM SBOOK
           WHERE
             CARRID   = 'LH '      AND
             FLDATE   = '19950228'
           GROUP BY CONNID.
      WRITE: / CONNID, COUNT, SUM, AVG.
    ENDSELECT.
    Regards,
    Sravanthi

  • How can I know which screen-group is?

    Hi experts!!
    I don't know how can I know which screen-group is associaciate to the values...for example, how can I associate  this block to a screen-group for after do this?  IF SCREEN-GROUP1 EQ 'DAT'.
    SELECTION-SCREEN BEGIN OF BLOCK B9 WITH FRAME TITLE TEXT-017.
    SELECTION-SCREEN SKIP.
    SELECT-OPTIONS: FECHA FOR P0001-BEGDA MODIF ID DAT.
    SELECTION-SCREEN END OF BLOCK B9.
    Thanks and regards,
    Rebeca

    Hi,
    Check out this code.
    REPORT  Z94406_TEST_123                         .
    TABLES: pa0001,t549a.
    DATA: n(6) TYPE c.
    SELECTION-SCREEN BEGIN OF BLOCK za2 WITH FRAME.
    PARAMETERS:p1  RADIOBUTTON GROUP grp1 user-command a DEFAULT 'X'.
    SELECT-OPTIONS: s_prd1 FOR n NO-EXTENSION modif id G1.
    PARAMETERS:p2  RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_period FOR pa0001-begda NO-EXTENSION modif id G2.
    SELECTION-SCREEN END OF BLOCK za2.
    AT SELECTION-SCREEN OUTPUT.
    if p1 = 'X'.
    LOOP AT SCREEN.
        IF screen-group1 = 'G2' or screen-group1 = 'G2'.
                screen-input = '0'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
    ELSE.
      IF screen-group1 = 'G2' or screen-group1 = 'G2'.
          screen-input = '1'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
       ENDIF.
    Regards,
    Syed

  • How can i check how many tables are in my database?

    Hi Guyz,
    If any body can tell how can i check how any and which tables are in my database.how big are they.and who are the owners.
    Thanx in advance,
    Navneet Kaur

    hi,
    how any and which tables.select count(*) from dba_tables;
    how big are they.and who are the owners.select a.owners,a.table_name,sum(b.bytes)/1024/1024/1024 from dba_tables a, dba_segments b
    where a.table_name=b.segment_name
    group by a.owner
    regards
    Jafar

  • How can i found which program consume more memory in server

    Dear Experts,
    please do  needful on below issue
    in my servers one server is very slow i checked in all arear
    but i didnot found any issues on my servers
    now i have one doubt
    is their any problem in abapers coading
    so i need to check how much memory it will takes for sql statments
    i dont know how can i get this requirment
    so please tel me how can i check sql statments which they consuming more memory in my server
    Regards

    Hi,
    please do needful on below issue
    For the same, I suppose ?   
    Use Transaction ST03, choose the period (day, week or month), select "Memory Use Statistics" and sort by "Average Total Memory Usage " or "Maximum Extended Memory Usage".
    Check specially if some programs use Private Memory.
    Regards,
    Olivier

Maybe you are looking for