Problem with Radio Button using JDeveloper 10.1.2 and Windows 2008

When adding Radio Buttons ("Yes and "No") to a swing application and putting them under a button group. Selecting "Yes" the "No" choice diappears

JDev 10.1.2 is quite old, and was never certified for Windows 2008.
No need to post multiple threads - same question as {thread:id=2271522}

Similar Messages

  • Problem with radio Button(urgent)

    hai friends
    (sub:- deselecting radio buttons(2 radio buttons) at a time. ie. no one is selected at any point of time. whenever he/she cliks it is going to select.)
    In my form, i have 2 radio buttons. if i click one radio button it opens one canvas and enter some data and when i press OK button there, it will come back to original canvas.at this movement selected radio button should be deselected.
    If i click 2nd radio button it also opens another canvas and enter some data and when i press OK button there, it will come back to its original canvas.at this movement selected radio button should be deselected.
    when come back to its original canvas, is there any chance of deselecting both radio buttons at a time. ie. at any point of time customer may select any one. no one is default . i need that methodology. it is possible? if so, give me code for it.
    regards
    madhava

    Hi,
    you can use a third radio button and set it to be invisible. Whenever you want your two visible buttons to be deselected simply set the value to your third button value.
    Achim

  • Problem with Radio Button

    Dear Expert,
                 I had a problem while using the syntax SUBMIT.
    I created a report which displays in Grid. In output we have Material Number, Plant, Storage Location, Date.
    By clicking the Material Number, I am submitting to RM07MLBD (MB5B) with material number, plant, storage location and selection date. But some times when clicking the material number, its going to dump giving as "More than one radio button active"
    I can call the Transaction by Call Transaction MB5B, But i need to send the Date also. When sending the Storage Location, in MB5B Transaction we had to activate the Stock Type (Storage Locatin/Batch Lock) Radio Button.  But giving the dump.
    Please help me to solve this issue.
    Kindly give me any other way to call MB5B transaction.
    Thanks & Regards,
    Srini

    Hi,
    you will find something related infor at,
    Submit with exorting list to memory and return
    also in program RM07MLBD, below is the decalaration of the radio buttons. check if you are passing correct values etc..
    using clear statement properly etc...
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS LGBST LIKE AM07M-LGBST RADIOBUTTON GROUP BART DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 4(50) TEXT-010 FOR FIELD LGBST.
    Text-010: Lagerort-/Chargenbestand
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS BWBST LIKE AM07M-BWBST RADIOBUTTON GROUP BART.
    SELECTION-SCREEN COMMENT 4(50) TEXT-011 FOR FIELD BWBST.
    Text-011: bewerteter Bestand
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS SBBST LIKE AM07M-SBBST RADIOBUTTON GROUP BART.
    SELECTION-SCREEN COMMENT 4(50) TEXT-012 FOR FIELD SBBST.
    Text-012: Sonderbestand
    SELECTION-SCREEN END OF LINE.
    Thanks,
    Chandra

  • Problem with Radio Buttons: At Selection-Screen

    Hi,
    i have two radio-buttons in my screen with coding
    PARAMETERS:
                      ST RADIOBUTTON GROUP rad1 DEFAULT 'X',         "stock transport
                      PR RADIOBUTTON GROUP rad1.                     "purchase return
    at selection-screen output.
    if PR = 'X'.
    perform f_selection_request_po_ret.
    endif.
    if ST = 'X'.
    perform f_selection_request_stck_trans.
    endif.
    at selection-screen on value-request for s_ebeln-low.
    perform f_f4_values.
    at selection-screen on value-request for s_ebeln-high.
    perform f_f4_values.
    I need to provide different values in drop-down of select-options according to the radio-button selected.
    Like if PR is selected s_ebeln-low and s_ebeln-high displayed will be different.
    and if ST is selected s_ebeln-low and s_ebeln-high displayed will be different.
    My problem is that the program is taking the values of that radio button which is set to Default. While running the program, if I click on the other radio-button, it is showing the same values, not different.
    Kindly, tell me where I am going wrong in the coding.
    Regards,
    Priyanka.

    Hi,
    For this requirement you have to use the following FM's
    <b>DYNP_VALUES_READ </b>  and DYNP_VALUES_UPDATE
    The one highlighted is the one you need to call in the selection screen events to get the values. Do a where used list on this FM and see how its being used.
      DATA : W_REPID    LIKE D020S-PROG,
             W_DYNNR    LIKE D020S-DNUM,
             I_DYNPREAD LIKE DYNPREAD OCCURS 0 WITH HEADER LINE.
      REFRESH: I_DYNPREAD.
      CLEAR  : I_DYNPREAD,
               W_FILE    .
      I_DYNPREAD-FIELDNAME = C_UXPATH.
      APPEND   I_DYNPREAD.
      CLEAR  : I_DYNPREAD.
      W_REPID = SY-REPID.
      W_DYNNR = C_1000.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME               = W_REPID
                DYNUMB               = W_DYNNR
           TABLES
                DYNPFIELDS           = I_DYNPREAD
           EXCEPTIONS
                INVALID_ABAPWORKAREA = 1
                INVALID_DYNPROFIELD  = 2
                INVALID_DYNPRONAME   = 3
                INVALID_DYNPRONUMMER = 4
                INVALID_REQUEST      = 5
                NO_FIELDDESCRIPTION  = 6
                INVALID_PARAMETER    = 7
                UNDEFIND_ERROR       = 8
                DOUBLE_CONVERSION    = 9
                OTHERS               = 10.
      IF SY-SUBRC EQ 0.
    Successfully read screen. GET the values
        LOOP AT I_DYNPREAD.
          CASE I_DYNPREAD-FIELDNAME.
            WHEN C_UXPATH .
              W_FILE   = I_DYNPREAD-FIELDVALUE.
          ENDCASE.
        ENDLOOP.                "LOOP AT i_dynpread.
      ENDIF.                    "IF sy-subrc EQ 0.
    Cheers
    VJ
    Message was edited by:
            Vijayendra  Rao

  • Fillable forms with radio buttons (Using Adobe Reader X)

    I have two questions: First question, I have a fillable form with "yes" and "no" radio buttons. Currently the radio defaults to answer "yes", but I would like both the "yes" and "no" fields to be empty, which would allow the user to select an answer on his or her own.  Second question, is there a way to make an answer required before moving on to the next question?
    (Using Adobe Reader X)
    Message was edited by: mp2athome

    You need to check and make sure that the options  for each radio button do not have the "Button is checked by default" selected.
    You can make all the following answer radio buttons "read only" and only after one of the choices for the preceding question has been answered are the radio buttons for the next question are write enabled.
    You will need Acrobat to create the form.

  • Problem with Radio Buttons disappering

    I am running windows 2008 server and JDeveloper10.1.2. When I add Radio Buttons to a screen and then create a button group and add the buttons when I click Yes the No button disapprears

    Hi,
    For this requirement you have to use the following FM's
    <b>DYNP_VALUES_READ </b>  and DYNP_VALUES_UPDATE
    The one highlighted is the one you need to call in the selection screen events to get the values. Do a where used list on this FM and see how its being used.
      DATA : W_REPID    LIKE D020S-PROG,
             W_DYNNR    LIKE D020S-DNUM,
             I_DYNPREAD LIKE DYNPREAD OCCURS 0 WITH HEADER LINE.
      REFRESH: I_DYNPREAD.
      CLEAR  : I_DYNPREAD,
               W_FILE    .
      I_DYNPREAD-FIELDNAME = C_UXPATH.
      APPEND   I_DYNPREAD.
      CLEAR  : I_DYNPREAD.
      W_REPID = SY-REPID.
      W_DYNNR = C_1000.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME               = W_REPID
                DYNUMB               = W_DYNNR
           TABLES
                DYNPFIELDS           = I_DYNPREAD
           EXCEPTIONS
                INVALID_ABAPWORKAREA = 1
                INVALID_DYNPROFIELD  = 2
                INVALID_DYNPRONAME   = 3
                INVALID_DYNPRONUMMER = 4
                INVALID_REQUEST      = 5
                NO_FIELDDESCRIPTION  = 6
                INVALID_PARAMETER    = 7
                UNDEFIND_ERROR       = 8
                DOUBLE_CONVERSION    = 9
                OTHERS               = 10.
      IF SY-SUBRC EQ 0.
    Successfully read screen. GET the values
        LOOP AT I_DYNPREAD.
          CASE I_DYNPREAD-FIELDNAME.
            WHEN C_UXPATH .
              W_FILE   = I_DYNPREAD-FIELDVALUE.
          ENDCASE.
        ENDLOOP.                "LOOP AT i_dynpread.
      ENDIF.                    "IF sy-subrc EQ 0.
    Cheers
    VJ
    Message was edited by:
            Vijayendra  Rao

  • Problem with Radio Buttons

    I am trying to get information from a radio button when a button is clicked. When it runs and I click the Add button, it doesn't recognize that a radio button is selected. The Large button is supposed to add 10 dollars to your price and the Regular is supposed to add 7 dollars. Each toppin adds .75 to your price. Any ideas or help would be great.
    import java.awt.* ;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.ButtonGroup;
    import javax.swing.JRadioButton;
    import java.text.DecimalFormat;
    import java.lang.Math;
    public class PizzaGUI extends JFrame implements ActionListener
        DecimalFormat dec = new DecimalFormat("0.##");
      JLabel lblOrder     = new JLabel("Order number:");
      JLabel lblSize  = new JLabel("Pizza size");
      JLabel lblToppings = new JLabel("Toppings:");
      JLabel lblPrice = new JLabel("");
      JTextField OrderNum = new JTextField(10);
      JPanel OrderNumberPanel = new JPanel();     
      JPanel SizePanel = new JPanel();
      JPanel ToppingsPanel = new JPanel();
      JPanel PricePanel = new JPanel();
      JTextField Price = new JTextField(10);
      JRadioButton BRegular = new JRadioButton ("Regular", true);
      JRadioButton BLarge = new JRadioButton ("Large", false);
      ButtonGroup SizeGroup = new ButtonGroup();
      //JCheckBox Mushrooms, HotPeppers, Pepperoni, Onions;
    JCheckBox Mushrooms = new JCheckBox("Mushrooms");
    JCheckBox HotPeppers = new JCheckBox("Hot Peppers");
    JCheckBox Pepperoni = new JCheckBox("Pepperoni");
    JCheckBox Onions = new JCheckBox("Onions");
      JTextField Answer = new JTextField(15 );
      JButton    doit   = new JButton("Add");
      double regular = 7;
      double large = 10;
      double topping = 0.75;
      int OrderNumber= 0;
      String Ordernumstring;      
      double price;
      public PizzaGUI()  
        setTitle( "-Pizza Order-" );
         SizeGroup.add( BRegular);
            SizeGroup.add( BLarge);
            OrderNumberPanel.add(lblOrder);
            OrderNumberPanel.add(OrderNum);
            SizePanel.add(lblSize);
         SizePanel.add(BRegular);
         SizePanel.add(BLarge);
            ToppingsPanel.add(lblToppings);
            ToppingsPanel.add(Mushrooms);
            ToppingsPanel.add(HotPeppers);
            ToppingsPanel.add(Pepperoni);
            ToppingsPanel.add(Onions);
            PricePanel.add(lblPrice);
            PricePanel.add(Price);
        getContentPane().setLayout(
            new BoxLayout( getContentPane(), BoxLayout.Y_AXIS )); 
        getContentPane().add( OrderNumberPanel );
        getContentPane().add( SizePanel ); 
        getContentPane().add( ToppingsPanel );  
        getContentPane().add( PricePanel );
        getContentPane().add( doit );
        Price.setEditable( false );   
        OrderNum.setEditable( false );
        doit.addActionListener( this );
      public void actionPerformed( ActionEvent evt) 
      // The application
      Object source = evt.getSource();
         OrderNumber++;
         OrderNum.setText("#"+ OrderNumber);
            if(evt.getActionCommand() == "Regular"){
                    price+=7;}
            else{
                    price+=10;}
                 if(Mushrooms.isSelected()){
                         price+=.75;}
                 if(HotPeppers.isSelected()){
                         price+=.75;}
                 if(Pepperoni.isSelected()){
                         price+=.75;}
                 if(Onions.isSelected()){
                         price+=.75;}
         Price.setText("$"+price);
      public static void main ( String[] args )
        PizzaGUI PizzaApp  = new PizzaGUI() ;
        WindowQuitter wquit = new WindowQuitter();
        PizzaApp.addWindowListener( wquit );
        PizzaApp.setSize( 500,300 );    
        PizzaApp.setVisible( true );        
    class  WindowQuitter  extends WindowAdapter
      public void windowClosing( WindowEvent e )
        System.exit( 0 );  

    Have you tried printing out the ActionCommand you are comparing to in your ActionEvent method? Since the event is thrown from your doIt buttton, it will never be "Regular"...
    You have to test to see if the BRegular JRadioButton is selected with BRegular.isSelected().
    /D

  • Dialog Programming: Problem with Radio Buttons in a dialog screen.

    Removed - Duplicate posting.
    Edited by: miniSAP on May 14, 2009 9:05 AM

    Hi,
    go to se51 screen layou and select the four radio button and right click there is a option called assigned group name..
    enter the group name..
    from now onwards it allows you to select only one radio button at a time..
    Regards,
    Prabhudas

  • Problem with System.gc using JDeveloper

    Hi,
    I am running the following code sample from Thining in Java book:
    class Book {
    boolean checkedOut = false;
    Book(boolean checkOut) {
    checkedOut = checkOut;
    void checkIn() {
    checkedOut = false;
    public void finalize() {
    if(checkedOut)
    System.out.println("Error: checked out");
    public class DeathCondition {
    public static void main(String[] args) {
    Book novel = new Book(true);
    // Proper cleanup:
    novel.checkIn();
    // Drop the reference, forget to clean up:
    new Book(true);
    // Force garbage collection & finalization:
    System.gc();
    } ///:~
    When I run this program, System.gc() prints the message ("Error: checked out").
    But thats not the case when I run the program with JDeveloper. Nothing is printed. I tested it in debug mode too.
    Thank you

    JDev 10.1.2 is quite old, and was never certified for Windows 2008.
    No need to post multiple threads - same question as {thread:id=2271522}

  • Creating a form with radio buttons that users can fill, save, and e-mail back

    Hi all,
    I am new here, so please forgive me if this answer has already been answered. I have been looking around and still have not been able to find an answer.
    I have created a pdf in InDesign and opened it in Acrobat to create a form out of that existing PDF. The form needs to contain radio buttons and text fields. When I save it to test it out on Adobe Reader (for the typical user), it says that I am only allowed to save it in its original form (without any of the changes) thereby making this form useless (I do not want users to print it out; I'd like them to email the entire PDF back to me).
    I've looked online and found some answers saying that I would just need to enable commenting, but when I tried that, I could no longer select any of the radio buttons in Adobe Reader.
    Any suggestions?
    Thanks in advance.
    I'm on a Mac using Adobe Acrobat 7 Professional.

    You won't see that in 7. It didn't exist until Acrobat 8. Though It would work with PDF's opened by Reader 7.
    The only choice you have is connacting someone at Adob coporate and finding out how to sign up to a Service they have that will llow you to do that.
    Caution: its very, very expensive and unless  your fortune 1000 company you can't afford it.
    OR you could upgrade to Acrobat 10 (if you have a Machine capable of running it - Intel Only) or Acrobat 9 (PPC and INTEL).
    Note the feature they speak of only allows for 500 instances of any one PDF set up to do so.

  • Problem with Win 7 x64, WWAN or WiFi card and Windows XP Mode

    I have a T500 with switchable graphics (2056-4RU) with a clean install of Windows 7 Pro x64 with the AT&T WWAN card.
    With all the Win7 RTM drivers and Access Connections for Win7, I had a problem that the WWAN card (Ericson F3507g, purchased from Lenovo and working flawlessly under Vista 32-bit) would not initialize. Support told me to uninstall the Win 7 versions of the Power Manager Drivers, WWAN card driver and Access Connections and replace them with the Vista counterparts, which restored the functionality of my WWAN card. Based on the speed with which the support tech came up with the suggested fix, I suspect I am not the only one with the disappearing WWAN card problem.
    Now I have found that starting the Windows XP Mode virtual machine kills the WiFi functionality (Intel WiFi Link 5100 AGN) until I disable and re-enable the WiFi adapter in Device Manager and then restart the system. (I have not problems with XP Mode and with the Win7 drivers / Access Connections opening Windows XP Mode did not cause the problem with the WiFi.) Opening Windows XP Mode causes no problem with the wired network adapter on my system). 
    Thus it appears that I can have functionality of the WWAN and WiFi adapters with XP Mode using the Released Win 7 versions and functionality of Windows XP Mode together OR I can have WWAN but not WiFi functionality with XP Mode using the Vista drivers that support suggested. However, it seems that I cannot have WWAN, WiFi and XP Mode concurrently.
    I reproduced the above XP mode / WWAN problem / WiFi problems on a T500 with Win7 x64 owned by another family member.
    Does anyone (particularly anyone from Lenovo) have fix for this?
    Thanks.

    for the sim card, try this:
    http://jack.ukleja.com/update-ericsson-f3507g-mobile-broadband-on-windows-7-with-lenovo-thinkpad/com...
    I have another operator and I finally gave up. apparently it's also no that easy to install the SIM card, if the plastic thing that helps to remove the SIM card  is not the right position, it will overlap the SIM Card chip.
    can't help for the WIFI. I had the problems too with access connection and decided to remove it. I use Seven's network manager, which does an equally good job.
    Since I have the switch to turn off the wireless, I don't really need access connection anyway.
    Finally, something that I learns while struggling with the bluetooth driver: the order in which power manager, access connection and the different drivers are installed DOES affect their effectiveness. I forgot the details but I remember 2 things:
    always read the TXT file that is available on the driver page on the lenovo web site and install power manager and access connection last.
    Good luck

  • Problem with radio button and labels

    Hi Team,
    I have defined the LOV for a form field as STATIC:yes;y,no;n and in 2 columns.
    This is what I get at runtime
    <table>
    <tr><td nowrap="nowrap"><input type="radio" name="p_v07" value="n" id="P18_USED_PRODUCTS_0" />
    <label for="P18_USED_PRODUCTS_0">no</label></td>
    <td nowrap="nowrap"><input type="radio" name="p_v07" value="y" id="P18_USED_PRODUCTS_1" />
    <label for="P18_USED_PRODUCTS_1">yes</label></td>
    </tr>
    </table>
    I want Yes to be the first button. How can I do that? I can with a LOV, but "static" is easier for trivial things like y/n etc.

    Raymond,
    You can use the keyword STATIC2 instead of STATIC to render the options in the order you code them.
    - Scott

  • Problems with Fingerprint Reader on Touchsmart TX2-1274NR Notebook and Windows 7 Ultimate (64-bit)

    I have just upgraded my tx2-1274nr to windows 7 ultimate (64-bit) [my university released the upgrade a week early] and I followed the directions provided by technical support and downloaded/installed all the updated drivers and software.  Everything works great (actually better than great) except for two problems.
    The fingerprint reader does not work. It shows up in the device manager, but when I try to register a fingerprint, Windows says no reader found.
    This problem is not really effecting the performance, but it states on the device stage that I am missing a driver for the keyboard filters?  I am not sure if this is important.
    Any assistance would be greatly appreciated.  I am really loving the new system, especially the multi-touch (installed the drivers from N-trig)!!
    Thanks

    Hi,
    dclane wrote:
    The fingerprint reader does not work. It shows up in the device manager, but when I try to register a fingerprint, Windows says no reader found.
    Check this and this thread. You need Authentec TrueSuite.
    dclane wrote:This problem is not really effecting the performance, but it states on the device stage that I am missing a driver for the keyboard filters?  I am not sure if this is important.
    If You have any version of Quick Lunch Buttos installed uninstall them and install this here which is provided by HP for Win7.
    Message Edited by Daniel_Potyrala on 10-16-2009 12:35 AM
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • HT6114 Is anyone else having problems with connecting to projectors on the OS X and windows partitions after this update?

    I am using the thunderbolt port with an adapter for hdmi connecting to a 42" RCA tv from my mid 2012 MacBook Pro 15". I have confirmed that the adapter and the hdmi cable are perfectly fine. I can only connect to a projector on the OS X 10.92 if I keep the displays separate.  As soon as I try to use the mirror feature I lose the visual feed. Sound will still go through however.
    On my Windows 7 partition the OS can't even detect it is connected to an external display.

    Hi there Chinsteig,
    You may find the troubleshooting steps in the article below helpful.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    -Griff W. 

  • Having problems with radio summit buttons counting up.

    Hi, I am not very good with php. I am familiar with java/html
    coding, but not a expert at it. I created some radio buttons using
    DW in a group and changed them to be summit buttons. What I am
    trying to do when someone on my web-site clicks on the button of
    choice they only get one choice only. I created a group of 3 radio
    buttons. I would like it if there is counter that counts up this
    way I can always see how many selected which number at the given
    time. Does anyone know how to do this with DW or possible know a
    correct code I can use? I am very knowledgeable with DW and you may
    take a look at my web-site I created using only DW, FW, and AFs.
    Thanks,
    Robert
    4FIELDTEK com

    > java/html coding
    You mean javascript?
    > to be summit buttons
    You mean "submit" buttons?
    > very knowledgeable with DW and you may take a look at my
    web-site I
    > created
    > using only DW, FW, and AFs.
    The link is missing. And what is AF?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "robert2562000" <[email protected]> wrote in
    message
    news:gbrf1u$d6a$[email protected]..
    > Hi, I am not very good with php. I am familiar with
    java/html coding, but
    > not a
    > expert at it. I created some radio buttons using DW in a
    group and changed
    > them
    > to be summit buttons. What I am trying to do when
    someone on my web-site
    > clicks
    > on the button of choice they only get one choice only. I
    created a group
    > of 3
    > radio buttons. I would like it if there is counter that
    counts up this way
    > I
    > can always see how many selected which number at the
    given time. Does
    > anyone
    > know how to do this with DW or possible know a correct
    code I can use? I
    > am
    > very knowledgeable with DW and you may take a look at my
    web-site I
    > created
    > using only DW, FW, and AFs.
    >
    > Thanks,
    > Robert
    > 4FIELDTEK com
    >

Maybe you are looking for

  • How do I implement Drill UP functionality in my Request

    Currently when I Drill-down from parent ( Hierarchy1_id) , request shows up all its childrens ( Hierarchy2_id). How do I rollup to parent again ?

  • SAP Gateway failed during SAP2004S with Oracle 10.2 installation

    Hi, Oracle10.2 installation completed. SAP installatation reached upto "Check DDIC Password" (i.e. 28 of 43) SAP instances are up n running(from mnc I can see them green) Now I got error as.... ERROR 2009-07-15 15:51:46 FRF-00007  Unable to open RFC

  • IOS 5

    IOS 5 Notification can use more improvement. I can't seem to click on anything on top when the notification banner is there. Hope a close button will be added to the notification banner.

  • How to understand live stream is online

    Hi, First sorry about my english, i search my problem, but i couldnt find my answer, We have more then 80 live stream videos. More than 20 PC with capture cards, send cam streams to FSM with FME, Problems, PC can crush, capture card can crush, fme ca

  • Apache Root directory

    I've just started reading up on PHP and mysql and Apache. I'm having trouble getting my MacBook Pro with Leopard 10.5.2 to work with it as I can't seem to find the webserver documents directory as indicated in the books I've been reading adn websites