Getting text components on panel

Hi guys!
How to access all components on the panel? I mean, if i have:
jpanel1, jpanel2, jtextField1, jtextField2, and
jpanel1.add(jtextField1);
jpanel1.add(jpanel2);
jpanel2.add(jtextField2);
then, jpanel1.getComponents() will return {jtextField1, jpanel2}, right?
so, can i get array {jpanel2, jtextField1, jtextField2} ?

No is the short answer. You will have to iterate through all the components. Try a method like:
     public java.util.List getAllComponents(Container initialComponent)
          java.util.List compList = new ArrayList();
          Component[] comps = initialComponent.getComponents();
          for (int i = 0; i < comps.length; i++)
               if(comps[i] instanceof Container)
                    compList.addAll(getAllComponents((Container) comps));
               compList.add(comps[i]);
          return compList;

Similar Messages

  • How do I get text to flow from one page to the next in Pages 5?

    How do I get text to flow from one page to the next in Pages 5 with the Maverick system?

    What may be overlooked in Pages v5 is the notion of combining Text Boxes via the Menu > View > Show Arrange Tools. When you select two Text Boxes, an extra panel unfolds at the bottom of the Arrange Tools window. Uncheck one Text Box and this panel abruptly disappears.
    One can achieve text flow effects between Text Boxes differently based on how one positions the Text Box overlap, and choice of effect above. Though not the accustomed flow found in Pages ’09 v4.3, flow does occur. Consider the possibilities of combining a Shape and a Text box to cut an irregular Text box.
    If I create two Text Boxes and position them side by side with outline touching and choose Unite, this creates one larger Text Box and text flows across and down. On the otherhand, if I overlap the upper left corner of a lower Text Box over one above and to the left, then choose Union, pasted text fills the first Text Box and then flows across and down into the other box. Here is a Union example:
    Intersect will leave a small Text Box where the two overlap, so not much value there. Subtract will cut a chunk out of one Text Box that is the size of the overlapping piece of the second Text Box:
    And Intersect will leave an island in the center where the two Text Box overlap, with flow jumping over this bridge.
    Clearly, this is not what we were accustomed to in the past, but with imagination, style, and layout tuning, it does offer alternative Text Box creativity and layout. Of course, there is the option of simply returning to the previous Pages version for true Text Box linking that most will want to use.

  • Text components

    Hello,
    I thought copy/paste functions (ctrl v, ctrl c) were automatically included in Swing Text components but when they are on a JApplet, they don't always work. The keyword is always which is weird because on some computers it works, but others it only will copy/paste text internally in the applet (not from external programs). This is not a signed applet...but the copy and paste from external sources DO work on some computers, so I'm not sure if this is a permissions issue or not. Does anyone know any solutions?
    Thanks.

    Thank you camickr.
    addHighlight() highlights a range of characters and this is exactly what I needed. What about highlighting lines. To highlight a line, I will have to count all characters before that line to get to line start, and then count all characters before next "\n" to get to line end. Then repeat this process for all lines that I need to highlight. Is there an easier way to highlight lines ?

  • Created GUI using Matisse, can't get text on jPanel

    Hello, I am tying to build my first desktop application. I created a test GUI using Netbeans Matisse.
    When the button is pressed I want that the text string stored in the variable text appears on jPanel1. The String is retrieved from a database (that's not a problem).
    How to get the text onto jPanel1?
    Here's the GUI code:
    package prototype4;
    import java.awt.Color;
    import spin.Spin;
    public class newGUI extends javax.swing.JFrame {
        /** Creates new form newGUI */
        public newGUI() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            rolloverProducer1 = new org.jdesktop.swingx.RolloverProducer();
            jPanel1 = new javax.swing.JPanel();
            jPanel2 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 376, Short.MAX_VALUE)
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 127, Short.MAX_VALUE)
            jButton1.setText("Start");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .add(140, 140, 140)
                    .add(jButton1)
                    .addContainerGap(173, Short.MAX_VALUE))
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
                    .addContainerGap(39, Short.MAX_VALUE)
                    .add(jButton1)
                    .add(36, 36, 36))
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(55, Short.MAX_VALUE))
            pack();
        }// </editor-fold>                       
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
        // spin off   
            DAOUser daouser = (DAOUser) Spin.off(new DAOUserImpl());
            String text = daouser.getString();
            System.out.println(text);
            //jPanel1.
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new newGUI().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private org.jdesktop.swingx.RolloverProducer rolloverProducer1;
        // End of variables declaration                  
        }

    The code you posted is basically of no use to use since it uses custom Matisse classes.
    Learn how to write a Swing app without a GUI builder. Learn how to use Layout Managers on your own.
    If you want to display text on a panel then you would do:
    panel.add( label );
    panel.revalidate();
    Whos know what will happen with your code because I have no idea what the Matisse Layout Managers do.
    Read the Swing tutorial on [url
    http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers.

  • GetCharBoundaries equivalent in spark text components

    Is there an easy way in the new text components to do what getCharBoundaries (in flex.TextField) does? (i.e. get the position of a particular character within a text field)
    So far, all I've come across is getAtomBounds in the TextLine class. But I'm not sure how to make use of this from the starting position of a TextArea or other spark component. Before I go delving into this further, is there an obvious way to do this that I've missed. And if not, can anyone give me a lead on how to make use of getAtomBounds from a RichText or other component.
    Any help greatly appreciated.

    dave,
    Good catch! Can you please file a bug at http://bugs.adobe.com/flex/ and include a simple test case (actually, I was able to repro with the test case below if you want to use that code)? (and then post the bug number here so I can subscribe and assign to the correct person).
    You can see from the code below that the flowComposer seems to be null by default, but if you edit the code you will get a flowComposer object back.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo">
        <s:layout>
            <s:VerticalLayout paddingLeft="20" paddingTop="20" />
        </s:layout>
        <fx:Script>
            <![CDATA[
                import mx.utils.ObjectUtil;
                private function init():void {
                    debug.text = ObjectUtil.toString(richEdTxt.textFlow.flowComposer);
                    btn.enabled = false;
            ]]>
        </fx:Script>
        <s:RichEditableText id="richEdTxt" change="btn.enabled = true;">
            <s:textFlow>
                <s:TextFlow>
                    <s:p>The quick brown <s:span fontWeight="bold">fox jumps over</s:span> the lazy dog</s:p>
                </s:TextFlow>
            </s:textFlow>
        </s:RichEditableText>
        <s:Button id="btn" label="get flowComposer" click="init();" />
        <s:TextArea id="debug" width="550" height="300" />
    </s:Application>
    Thanks,
    Peter

  • Problem when to get JFrame components

    I want to get all components from a JFrame. The problem is, when first time i want to get JFrame components...it will print like below...
    nullHi i am button
    Hi i am label
    Hi i am text field
    Hi i am button that you clicked
    but for second time and others, i get true result like below
    Hi i am button
    Hi i am label
    Hi i am text field
    Hi i am button that you clicked
    Can someone show me some light, what mean of null that i get every first time i want to get JFrame components.
    Below is my source code :
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.GridLayout;
    import java.awt.Component;
    import java.awt.BorderLayout;
    import java.awt.Container;
    public class GetAllComponentInJFrame implements ActionListener
         String storeAllComponentName;
         JFrame frame=new JFrame("Get all component in a JFrame");
         JButton button=new JButton("Button");
         JLabel label=new JLabel("Label");
         JTextField textField=new JTextField("Text field");
         JButton buttonToClick=new JButton("Click here to get all component in JFrame");
         GridLayout gl=new GridLayout(4,1);
         public GetAllComponentInJFrame()
              frame.setLayout(gl);
              buttonToClick.addActionListener(this);
              frame.setName("I am JFrame");
              button.setName("Hi i am button");
              label.setName("Hi i am label");
              textField.setName("Hi i am text field");
              buttonToClick.setName("Hi i am button that you clicked");
              frame.getContentPane().add(button);
              frame.getContentPane().add(label);
              frame.getContentPane().add(textField);
              frame.getContentPane().add(buttonToClick);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(400,400);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent event)
              if(event.getSource()==buttonToClick)
                   Component[]arrayToStoreComponent=frame.getContentPane().getComponents();
                   for(int i=0; i<arrayToStoreComponent.length; i++)
                        Component temp=arrayToStoreComponent;
                        storeAllComponentName=storeAllComponentName+temp.getName()+"\n";
                   System.out.println(storeAllComponentName);
                   storeAllComponentName=new String("");
         public static void main(String[]args)
              GetAllComponentInJFrame gacijf=new GetAllComponentInJFrame();

    So, why i just get it only on first..not on second or third when i click button :
    JButton buttonToClick=new JButton("Click here to get all component in JFrame");I hope you can show me the right way to get all components in JFrame? Thanks for spend a time on my problem.

  • How to get text into a timeline

    I do not understand how to get text into a timeline in Premiere Pro.  I can work in titles more or less, change fonts and sizes, but I do not get how to insert the text into the timeline.  Am I even starting at the right place, going into "titles" first?

    Once you have made your title, drag it from the project panel to V2 on your timeline above your other footage.

  • I just got a macbook air for xmas- now i wont get texts on my iPhone. they go right to my laptop. how can i get the texts to go to BOTH devices?

    My hubby just got me a macbook air for Xmas which is awesome.  Set it up to be able to ichat on it as well as on my iphone.  Only now i wont get texts on my iphone- ONLY on my laptop.  How can i configure so that I can get texts on my computer AND my phone. NOT just one or the other? Please help!

    Hi,
    The Mac version will use your Apple ID as the first and only choice...
    ... Until you add the same Apple ID to Messages on the iPhone.
    Once this is done it is best to Restart the app on the Mac.
    This will then get at least one, possibly two pop up saying the iPhone in using the Apple ID and the iPhone Number.
    Accepting these Pop ups will enable the iPhone as an ID to be used in the Receive At List.
    It will also appear in the drop down at the bottom for "Start New Conversations from"
    If you did not set iyt up like this then remove the apple ID from the iPhone in the Settings > Messages.
    Place the iPhone in Airplane mode to break with the server.
    Take it out of Airplane Mode and re-add the Apple ID in the Messages settings.
    Then Restart the app on the Mac as above.
    Having done this you can still turn Off the Apple ID on the iPhone (receive as the iPhone number only) or disable the iPhone Number on the Mac (receive Apple ID stuff only)
    The Start New Conversations option on the Mac version means you could use the iPhone number so people don't get your email.
    8:26 pm      Thursday; December 26, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • HP 6500A - Can't get into printer "control panel software" to check ink level, etc.

    First let me apologize... I don't know what the correct name is for the software that starts up when you use the printer icon that was installed on my computer's desktop when I installed the printer.  I am calling it the "control panel software" for want of a better name.
    My printer was setup to work wirelessly on my wireless network and was working fine.  The "control panel software" worked fine when I click on the icon on my desktop and I was able to check the ink levels, etc.
    I just got a new router and so I had to reconfigure my printer to use my new wireless network settings.  It wasn't working properly, so I decided to uninstall and reinstall the HP software for the printer.  As part of this it put a new icon on my computer's desktop for accessing the printer "control panel software", another new icon for the scan function, and another for the ePrint Service.
    The printer works fine... I can print and scan properly.  It successfully connected to my new wireless network and I thought all was well.  However, this is not the case.
    What is weird is that the "control panel software" icon doesn't take me to the control panel functions any more.  When I click on it it takes me back through the process of setting up the printer connection (wireless, wired, USB) again.  If I go through that again it tells me everything is installed and lets me set the default printer again and then asks me to register again.  So... I think I'm done, but then if I click on the icon again, it goes through this same process again. 
    Is there any way to stop this endless connection setup and just get to the "control panel software"?
    Any help appreciated.
    Thanks,
    Bill

    What operating system?  I recommend not using the software CD as it may be out of date.  Get the latest software for your printer from the "Support & Drivers" link at the top of this page.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Text input in text components in swing?

    Hi,
    is there any UML diagram, or any site on how text input is carried out in text components? Is it just a simple matter of JTextComponent adding itself as a KeyListener to itself, and then updating the document with each key press? or is there a little more too it?
    thanks,
    J

    justinlawler wrote:
    or is there a little more too it?There's a lot more to it. I think good beginning reading is the summary at the top of the [Javadoc for JTextComponent|http://java.sun.com/javase/6/docs/api/javax/swing/text/JTextComponent.html] . It is a convoluted API that has many "kludges" that can't be completely removed because of the need for backwards compatibility.
    I'd also recommend reading up on the classes EditorKit, InputMap, ActionMap, Keymap, and (Basic)TextUI. Good luck!

  • How get all components from form Jdev10.1.3.4

    hi
    I have a form on her field is not related to VO. Pagedef empty.
    each element has the id and Binding.
    <af:inputText label="#{r['questionnaire.surname']}"
                                  required="true" id="surname"
                                  binding="#{QuestionnaireBean.surname}"
                                  />I want to get an array of elements.
    in obtaining a list of bindings
             BindingContainer bindings = getBindings ();
             bindings.getAttributeBindings ();null ((((((

    As you are asking your empty pagedef, which is what you do with
    BindingContainer bindings = getBindings ();
    bindings.getAttributeBindings ();it returns null. This is expected behavior.
    You have to walk the component tree to get all components check each for it's type and get the information from the component itself. You can use something like
    // reset all the child uicomponents
    private void getAllUIItems(AdfFacesContext adfFacesContext,
                                     UIComponent component){
       List<UIComponent> items = component.getChildren();
       for ( UIComponent item : items ) {
           getAllUIItems(adfFacesContext,item);
           if ( item instanceof RichInputText  ) {
               RichInputText input = (RichInputText)item;
               //do your work here e.g. store id in an array
           } else if ( item instanceof RichInputDate ) {
               RichInputDate input = (RichInputDate)item;
               //do your work here e.g. store id in an array
    }you may have to alter the signature of the method to return the array of ids ...
    Timo

  • How to get Text for nodes in Tree Structure

    Hi Friends,
    How to get Text for nodes in Tree Structure
    REPORT  YFIIN_REP_TREE_STRUCTURE  no standard page heading.
                       I N I T I A L I Z A T I O N
    INITIALIZATION.
    AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
                      ID 'YFIINICD' FIELD SY-TCODE.
      IF SY-SUBRC NE 0.
        MESSAGE I000(yFI02) with SY-TCODE .
        LEAVE PROGRAM.
      ENDIF.
    class screen_init definition create private.
    Public section
      public section.
        class-methods init_screen.
        methods constructor.
    Private section
      private section.
        data: container1 type ref to cl_gui_custom_container,
              container2 type ref to cl_gui_custom_container,
              tree type ref to cl_gui_simple_tree.
        methods: fill_tree.
    endclass.
    Class for Handling Events
    class screen_handler definition.
    Public section
      public section.
        methods: constructor importing container
                   type ref to cl_gui_custom_container,
                 handle_node_double_click
                   for event node_double_click
                   of cl_gui_simple_tree
                   importing node_key .
    Private section
      private section.
    endclass.
    *&                        Classes implementation
    class screen_init implementation.
    *&                        Method INIT_SCREEN
      method init_screen.
        data screen type ref to screen_init.
        create object screen.
      endmethod.
    *&                        Method CONSTRUCTOR
      method constructor.
        data: events type cntl_simple_events,
              event like line of events,
              event_handler type ref to screen_handler.
        create object: container1 exporting container_name = 'CUSTOM_1',
                       tree exporting parent = container1
                         node_selection_mode =
                cl_gui_simple_tree=>node_sel_mode_multiple.
        create object: container2 exporting container_name = 'CUSTOM_2',
        event_handler exporting container = container2.
    event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
        event-appl_event = ' '.   "system event, does not trigger PAI
        append event to events.
        call method tree->set_registered_events
             exporting events = events.
        set handler event_handler->handle_node_double_click for tree.
         call method: me->fill_tree.
      endmethod.
    *&                        Method FILL_TREE
      method fill_tree.
        data: node_table type table of abdemonode,
              node type abdemonode.
    types:    begin of tree_node,
              folder(50) type c,
              tcode(60) type c,
              tcode1(60) type c,
              tcode2(60) type c,
              text(60) type c,
              text1(60) type c,
              text2(60) type c,
              end of tree_node.
      data:  wa_tree_node type tree_node,
                t_tree_node type table of tree_node.
    wa_tree_node-folder = text-001.
    wa_tree_node-tcode  = text-002.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-003.
    wa_tree_node-text1 =  'GR/IR aging'.
    wa_tree_node-tcode2 = text-004.
    wa_tree_node-text2 =  'Bank Balance'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-005.
    wa_tree_node-tcode  = text-006.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-007.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-008.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-009.
    wa_tree_node-tcode  = text-010.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-011.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-012.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    node-hidden = ' '.                 " All nodes are visible,
        node-disabled = ' '.               " selectable,
        node-isfolder = 'X'.                                    " a folder,
        node-expander = ' '.               " have no '+' sign forexpansion.
        loop at t_tree_node into wa_tree_node.
          at new folder.
            node-isfolder = 'X'.                      " a folder,
            node-node_key = wa_tree_node-folder.
                   clear node-relatkey.
            clear node-relatship.
            node-text = wa_tree_node-folder.
            node-n_image =   ' '.
            node-exp_image = ' '.
            append node to node_table.
          endat.
         at new tcode .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode.
             node-text = wa_tree_node-text .
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
          endat.
          append node to node_table.
        at new tcode1 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode1.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
              node-text = wa_tree_node-text1.
         endat.
          append node to node_table.
           at new tcode2 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode2.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
            node-text = wa_tree_node-text2.
         endat.
          append node to node_table.
        endloop.
        call method tree->add_nodes
             exporting table_structure_name = 'ABDEMONODE'
                       node_table = node_table.
      endmethod.
    endclass.
    *&                        Class implementation
    class screen_handler implementation.
    *&                        Method CONSTRUCTOR
      method constructor.
       create object: HTML_VIEWER exporting PARENT = CONTAINER,
                      LIST_VIEWER exporting I_PARENT = CONTAINER.
      endmethod.
    *&                 Method HANDLE_NODE_DOUBLE_CLICK
      method handle_node_double_click.
      case node_key(12).
    when 'Creditors'.
    submit YFIIN_REP_CREADITORS_AGING  via selection-screen and return.
    when  'Vendor'.
    submit YFIIN_REP_VENDOR_OUTSTANDING  via selection-screen and return.
    when 'Customer'.
    submit YFIIN_REP_CUSTOMER_OUTSTANDING  via selection-screen and
    return.
    when 'GR/IR'.
    submit YFIIN_REP_GRIR_AGING  via selection-screen and return.
    when 'Acc_Doc_List'.
    submit YFIIN_REP_ACCOUNTINGDOCLIST  via selection-screen and return.
    when 'Bank Bal'.
    submit YFIIN_REP_BANKBALANCE  via selection-screen and return.
    when 'Ven_Cus_Dtl'.
    submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
    when 'G/L_Open_Bal'.
    submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
    when 'Usr_Authn'.
    submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
    endcase.
      endmethod.
    endclass.
    Program execution ************************************************
    load-of-program.
      call screen 9001.
    at selection-screen.
    Dialog Modules PBO
    *&      Module  STATUS_9001  OUTPUT
          text
    module status_9001 output.
      set pf-status 'SCREEN_9001'.
      set titlebar 'TIT_9001'.
      call method screen_init=>init_screen.
    endmodule.                 " STATUS_9001  OUTPUT
    Dialog Modules PAI
    *&      Module  USER_COMMAND_9001  INPUT
          text
    module user_command_9001 input.
    endmodule.                 " USER_COMMAND_9001  INPUT
    *&      Module  exit_9001  INPUT
          text
    module exit_9001 input.
    case sy-ucomm.
    when 'EXIT'.
      set screen 0.
    endcase.
    endmodule.
            exit_9001  INPUT

    you can read  the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
    Regards,
    Gopi .
    Reward points if helpfull.

  • Since the last update for my Iphone 4s i dont get text messages when connected to wifi. my wife is getting them. Imessage is switched off on both phones.

    since the 6. version update. of my Iphone 4s My wife was getting my text messages. I found the problem was caused by Imessage when connected to Wifi. I deactivated Imessage on both phones to solve the problem. I now have updated my Iphone to 6.1.1 and i dont get text messages anymore. I have Imessage deactivated on my phone but my wife is getting my text messages again. my wifes phone was not updated to 6.1.1 because the last update lost all her contacts from her phone and we had to but them back in one by one from the outlook list. Her contact are listed in outlook on a seperate list to mine but we can only get my contacts download to her phone. We use the same laptop to sysc phones.
    My Iphone does not download photos to My Pictures anymore. I have to copy them across to a folder. I cant find where it backs them up to.
    I have lost all confidence in Apple now as i was forced to update to 6.1.1 because of 3G reception issues and not reciving calls and now back to spending several hours trying to fix my phone to recieve a basic text message.

    Are you and your wife sharing apple id?
    If you are that is the reason why she is seeing your imessage.
    On both phone go to settings - message - send&receive - make sure the cell is the default.
    You will have to uncheck or remove the apple id.

  • I have iMessage on iPad and iPhone but text messages still won't appear on my iPad? I thought we were supposed to get text notifications on both devices?

    Does anyone have the same problem? I want to get text notifications on my iPad like I do my iPhone but I do not. I have both iMessages turned on and have tried restarting both apps and resyncing to my computer

    To get them on your iPad the sender will have to direct the message to your Apple ID and not your phone number.

  • I have an Ipad mini and an iphone 4.  Can i get text messages on both at the same time?

    I have an Ipad mini and an iphone 4.  Can I get text messages to appear on both devices at the same time?

    Yes if the messages are sent to an ID which is in the receive section of Settings > Messages > Send and Receive on both devices.

Maybe you are looking for

  • Help with implementing Row Level Security in Interactive Reporting

    We're deploying Hyperion BI+ 9.3.1, using Workspace and Interactive Reporting. I'm researching how we can use the Workspace row level security option. I've read what's available for documentation in the Workspace Administrator Guide and the Interacti

  • Hey Murray... About Project VII

    I was browsing through some of their tutorials saw your testimonial on the Project VII site. Then I got to looking at some of their commercial extensions. I especially like the looks of Image Gallery Magic, Pop Menu Magic and Tab Panel Magic. What do

  • What is the purpose and benefit of a firmware update?

    Solved! Go to Solution.

  • Connection domain-account:

    Hello! My father bought me Iphone 5s today, and this is my first iphone, so everything is different. I'm trying to make my self an icloud account, but it won't work because I can't connect my domain-account properly. When I'm trying to connect my dom

  • Restauración desde iCloud. ¿ Problema de seguridad ?

    Cuando he restaurado mi iphone desde iCloud, después de restaurar el sistema ha comenzado a descargar de nuevo las aplicaciones, etc. Hasta ahí todo bien. El problema es que para mi sorpresa me ha empezado a pedir las contraseñas de un unas 20 IDs de