Can we call Tree Selection Listener this way..?

Hi,
I have written one class 'DemoTree' that implemets framework tree.In frame work tree
We have All the listeners defined and all the listener methods have been implemented
in 'DemoTree' class.
Now I create one more class 'DemoTree2'.In this class I am instantiating 'DemoTree'.
My question is.. is it possible to use listener method defined in 'DemoTree'.
public class DemoTree implemets FrameWorkTree{
public void selectionListener(event){
public void mouseListener(event){
public class DemoTree2 extend JPanel{
private DemoTree  tree=new DemoTree();
pubic void main(String arg[]){
tree.selectionListener()-----> how to use/implement this feature?
tree.mouseClicked()
}Thanks.

The real drivers are supplied to our OEMs by sending them an email conatining release notes for them in an encrypted Zip-file.
They then need a password to FTP them from our FTP site.
Any normal individual (i.e. end user) coming to ADI direct should gte a standard reply telling him to go to the Mobo manufacturer or PC supplier along with some links .
Here is an example that I concocted as an MSWord autotext so I just type the word "sound" and this is inserted :
Sound Cards and Modem Information
Analog Devices does not manufacture sound or modem cards. Many sound cards use chipsets from Analog Devices in their designs.
Drivers are often customized to work with specific PCs or motherboard platform. Please contact the manufacturer of the PC for technical assistance. For technical assistance on a specific sound card, please contact the manufacturer of the card. http://forms.analog.com/Form_Pages/soundMAX/soundMAXtechSupport.html
may help.
Other sources you can check:
* You can visit the FCC's web site and use the search engine to see who manufactured the card.
* You may also be able to locate & download drivers for these cards at the following web site: http://www.fcc.gov/oet/fccid/
* You may want to try http://www.danworld.com/ for hotlinks to sound cards/modems
* or   http://www.windrivers.com  .
* http://www.driverguide.com  is extremely good  You have to register (once) but it is very useful and free. Copyright 1995- 2003 Analog Devices, Inc. All rights reserved.
Chris Muriel, Manchester, UK  (ADI applications engineer).

Similar Messages

  • Can we call a selection screen from List output

    Hi Folks,
    Can we call a selection screen from the list output?
    I mean for ex:-
    i am getting the data from MAKT and displaying it in the list output having a button EMAIL.
    When I press that button it should call a selection screen asking the user to enter EMAIL id .
    Thanks,
    K.Kiran.

    Hi
    U can create a dynpro as SELECTION SCREEN and call it using CALL SELECTION-SCREEN statament:
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    PARAMETERS: P_MAIL(80) TYPE C.
    SELECTION-SCREEN END    OF SCREEN  100.
    AT USER-COMMAND.
       CASE SY-UCOMM.
          WHEN 'MAIL'.
              CALL SELECTION-SCREEN 100.
              IF SY-SUBRC = 0. "User press F8
              ELSE.
                " User press exit or back
              ENDIF.
    U can use the addition STARTING AT ..... ENDING AT ..... if you need to show the selection-screen as popup
    Max

  • TS4002 Once I send my email on icloud, it does not show up on my mail client or on icloud.  How can I retrieve an email sent this way?

    Once I send my email on icloud, it does not show up on my mail client or on icloud.  How can I retrieve an email sent this way?

    SADLY  not as i downloaded an upgrad to my original PAGES/
    i have in the meantim had to open www.icloud. then from there import the file that i am working on and then check on ipad if it uploaded/ yes it did.
    but what a waste of time as it doesn not save any changes done automatically back in the cloud....
    i am now downloading the new LION and hope that it will fix the problem
    i cant find any other way. I was lead to believe that you wrote, it saved automatically, on to the cloud, you then opened anohter device in anotother country even, and the new file was there, waiting, in its latest version.......
    and the same magic was supposed to happen in reverse.
    It doesn't/
    if i have to open a browser, go to www.icloud....why on earth did they not just leave us an icon to drop it in in that case?
    I hope the new lion will help resolve the isssue/
    any other ideas> keep em coming...thank you so much.

  • Can't get child node in tree selection listener

    I am making a fusion web application using JDeveloper 11G (11.1.1.2.0).
    I have created two view objects linked together. Let's call them VoDepartments and VoEmployees, linked on DepartmentId.
    I hava made a tree with a af:switcher
    <af:switcher id="s1" facetName="#{node.hierType.structureDefName}">
    <f:facet name="view.VoDepartments">
      <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    <f:facet name="view.VoEmployees">
      <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    </af:switcher>I made a selection listener based on a guide by Frank Nimphius
    RichTree tree1 = (RichTree) selectionEvent.getSource();
    RowKeySet rks2 = selectionEvent.getAddedSet();
    Iterator rksIterator = rks2.iterator();
    if (rksIterator.hasNext()){
      List key = (List)rksIterator.next();
      JUCtrlHierBinding treeBinding = null;
      treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree1.getValue()).getWrappedData();
      JUCtrlHierNodeBinding nodeBinding = nodeBinding = treeBinding.findNodeByKeyPath(key);
      String nodeStuctureDefname = nodeBinding.getHierTypeBinding().getStructureDefName(); //Here is the nullpointerexception for employees
      String employees = "view.VoEmployees";
      String departments = "view.VoDepartments";
      if (nodeStuctureDefname.equalsIgnoreCase(departments)){
       String dept = (String) nodeBinding.getAttribute("Department_name");  
       System.out.println("Department = "+dept);
      else if (nodeStuctureDefname.equalsIgnoreCase(employees)){
       String emp = (String) nodeBinding.getAttribute("First_name");  
       System.out.println("Employee = "+emp);
      else{
       //what the heck did the user click on? Ask him ;-)
    }Pagedef:
    Executables:
    <iterator Binds="VoDepartments2" RangeSize="25" DataControl="AppMainDataControl" id="VoDepartments2Iterator"/>
    Bindings:
    <tree IterBinding="VoDepartments2Iterator" id="VoDepartments2">
    <nodeDefinition DefName="view.VoDepartments" Name="VoDepartments20">
      <AttrNames>
       <Item Value="DepartmentId"/>
      </AttrNames>
      <Accessors>
       <Item Value="VoEmployees"/>
      </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="view.VoEmployees2" Name="VoDepartments21">
      <AttrNames>
       <Item Value="First_name"/>
       <Item Value="Last_name"/>
      </AttrNames>
    </nodeDefinition>
    </tree>The tree works just fine and list all it should list. I can click the department and my selection listener print the departments name in the console.
    I can expand a department and list all employees. The problems is when I click an employee, I get null pointer exception.
    I have found out that the selectin listener can't find nodeBiding for employees. So nodeBinding.getHierTypeBinding().getStructureDefName(); throw NullpointerException.
    Anyone have an idea of what's wrong? Please help.
    -Thomas
    Edited by: Thomas H on Mar 22, 2010 8:21 AM

    Hi,
    if you open the tree binding editor, it has an entry "Target Data Source" for each of the node levels that you can use and point to an iterator binding representing the node. Not sure if this solves the issue, but chaces are.
    1. create an iterator for a child VO (using the not dependent child VO instance)
    2. Edit Target Data Source for the binding to e.g. ${bindings.EmployeesView1Iterator}
    Frank

  • Hi! I will try to get someone to listen this way!

    Hi I will try to get someone to listen to me this way. This is very serious and no one seems to want to support me. I have had a experience with this and it's not a pleasant one. Surely someone can get this BS stopped. I have programs that warn me, but most people don't.
    Dokie!!http://forums.toshiba.com/t5/Computer-Troubleshooting/Intel-SpeedStep-and-Fan-not-working/m-p/481665...
    Please read my reply to this member about this down load manager.
    Fingers crossed that some one here takes me serious about this.
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.
    Attachments:
    Capture48.JPG ‏162 KB
    Capture49.JPG ‏237 KB

    ok , at least I'll reply .
    Question why do they do it .  
    Answer  CASH! paid to them for avertising .
    Question    they did not used to do it , why now ?
    Answer . they know that there ar lot of 'newbies ' in the martket unaware of the ramifications of taking the recommended actions .
    question   does Microsoft know or care about them bieng on your PC
    answer    They don't know or care , maker of pc / supplier or shop puts them on
    question   do they do any harm .  'YES . 
                1  they clog up the pc with useless JUNK ,
                2 , they slow the pc down , as aften they are loaded/running all the time
                3  they *MAY* contain *Malware* , or worst *Virus* 
                4  they can try to call other one ( not displayed ) that  *maybe  a * KEYLOGGER*   that records everything you type in the       page
                5 the prices ( at least on pc's ) could be cheaper if they did not 'give them away'    ( the cost is hidden in the price *YOU* pay
                6 if you reply to them , the likeyhood is that you r now on some emailing list . or they have you IP . thus opening the door to spurious  emails , or control of your machine .
                7 userr   says they *can be deleted *   not always true.   control panel - add/remove  does not TOTALLY flush them out of the system
                8  the suppllier * thinks* they enhance the product  to entice other sales . but really that is upto the user to do , as he wants
                9 if they are *  needed* Microsoft would include them in the OS
               10 so  from the above . it can be understood that the pc market , is changing .   WHY? 
                          Sales of desktoip and laptop pc are down , they only thing  selling in higher volumes is tablets .
                          think on this   what is a tablet ... answer ,  a  laptop without a keyboard , that you pay more for
                                                                   Solution .    BUY a LAPTOP  
    OK  enough of my gripes about the market and they ways it is going
    remember the above .
    without user pre-purchase intervention ...... it will carry on . 
    tell the seller to remove the crap , or better still .  to provide a genuine dvd of WINDOWS from  MS so you can  install a clean version of WINDOWS,    *MINUS* all the rubbish .
     c ya folks .
    Dave B

  • Tree - Selection listener

    I have a af:tree on Dynamic tab shell, in that tree I have a selection listener property, Let us consider three nodes on the tree, Link1, Link2, Link3.
    When I hit the Link1 means Taskflow 1 renders on the right side, same as hitting Link2 means Taskflow2 renders.
    I can close the taskflow by using launchActivity.
    My problem is, I can hit the Link1 which renders TaskFlow1, Now i am closing the taskflow, again i am hitting Link1 without refreshing, the corresponding Taskflow is not opening.
    Once i refresh i can open the link1 again.
    Please help me to come across it.
    Thanks.
    -Arunkumar Kootharasan
    Edited by: Arunkumar Kootharasan on Oct 11, 2012 6:45 PM

    hi,
    Thanks for your reply,
    "What does this mean ? Why don't you use dynamic regions to switch between task flows in which case a task flow is closed when you switch to another one exposed in the region"
    "This is what i meant launchActivity means"- below code snippet
    private void launchActivity(String title, String taskflowId, boolean newTab)
    try
    TabContext tabContext = TabContext.getCurrentInstance();
    int tabIndex = tabContext.getSelectedTabIndex();
    System.out.println("selected :" +tabIndex);
    if (tabIndex != -1)
    System.out.println("Tab Removed");
    tabContext.removeTab(tabIndex);
    System.out.println("selected has:" +tabIndex);
    TabContext.getCurrentInstance().addOrSelectTab(title,taskflowId);
    catch (TabContext.TabOverflowException toe)
    // causes a dialog to be displayed to the user saying that there are
    // too many tabs open - the new tab will not be opened...
    toe.handleDefault();
    " Why don't you use dynamic regions to switch between task flows in which case a task flow is closed when you switch to another one exposed in the region"
    Yes i'm using Dynamic region. I forget to say this, and i also switching between one to another regions .
    "What does "without refreshing" mean? If you just exit the task flow without showing a new one then you will have to refresh the region and ensure its re-instantiating the task flow"
    Without refreshing in the sense manually refreshing the browser. If i manually refresh means its working fine.
    So, Without manually refreshing the browser, i want to refresh the region.
    How can i achieve it?
    -Arun

  • Can I call a selection-screen that is in another function group?

    I am writing a function module in function group ZFG_A.
    There exists a Dypro 9001 that exists in function group ZFG_B.
    How can I call the dynpro 9001 from my function in ZFG_A?
    This is not OO so I am not sure how to qualify the 9001?  Such as ZFG_B=>9001
      call selection-screen 9001 starting at 5 5
                                 ending   at 70 15.
    I get compile errors on the selection-screen variables because they are not found.
    Thank you,
    Olivier

    Its not at all possible to call a screen of different program from other program.
    But u can copy the screen using a FM called 'RS_SCRP_COPY' or 'RS_SCREEN_COPY'. In the former u can copy the screen with out popup but u have to specify the SOURCE program name and screen number and TARGET program name and screen no.
    In the later u ll get the popup similar to when u copy a screen in SE51.In the popup as u know u have to enter source name and screen no. and target program name and screen no.
    Thanks & Regards
    Santhosh

  • Tree selection listener problem

    I have a JTree which uses a selection listener.
    I encounter a problem when I collapse a row while a leaf has focus.
    My program doesn't hang but so many error messages scroll up my prompt.
    How can I resolve this problem?
    Thanks!

    try to capture the error messages. If you are unable to get them from standard output, try redirecting to a file like:
    prompt>java samp > xwhere samp is your class file and x is the file your output is redirected to. After you collapse the leaf that has focus, close the application and open the file 'x'. Copy and paste the errors here.
    I'll see what I can do!

  • Can we call RFC in any other way except using adaptive

    Hi,
    I want to know if there is any possible way to call RFC other than using the adaptive model.
    Answers will rewarded.
    Regards

    Hi,
    you can use JCO or Enterprise Connector to connect with R/3.
    JCO-->http://www.sapdevelopment.co.uk/java/jco/jcohome.htm
    EC-->http://help.sap.com/saphelp_webas630/helpdata/en/79/c6213e225f9a0be10000000a114084/content.htm
    Regards,
    Naga

  • I have a graph with the x axis for volume and the y axis for mass, I need the data to correlate with the volume and mass, I can not simply label the axis this way, how can i do this?

    This is extremely urgent and please help!!!

    Do you mean something like this?
    If so, go to the Chart inspector. On the Axis tab of the Chart Inspector you can set the format for each axis. Choose "custom" then type in the units at the end of the format that is there.  You can't get fancy, like having superscripts or anything.
    Alternatively you can show the axis titles, also in the chart inspector:

  • I am former PC person. Could view folder content based on a picture of an item in the folder. Can folder in imac be viewed this way without opening the folder?

    New to Apple and imac. With a PC, I could view a folder's contents as 4 files from within would be viewable on the folder itself. With the imac, I cannot see what is in the folder without opening it first. Is this possible as that was very convenient.

    The following item in the App Store may be of interest to you.
    http://itunes.apple.com/us/app/iconstix/id412598996?mt=12

  • Can't parameter be passed in this way?

    i wrote a method like this:
    dis=new DataInputStream(socket.getInputStream());
    byte[] inByte=new byte[20];
    dis.read(inByte); //read "am" from client side
    String inData=new String(inByte); //pass "am" to inData
         String outData=response(inData); //now inData is "am"
         System.out.println("outData= "+outData);
    public String response(String inData) throws Exception {
              String outData=null;
              if(inData.equalsIgnoreCase("am"))outData="good morning";
              else outData="unknown";
              return outData;
    at last i got "outData=unknown" ,why it's not "good morning"?

    IN CLIENT SIDE:
    String outData="am";          
    DataOutputStream dos=new DataOutputStream(s.getOutputStream());               
    byte[] outByte=outData.getBytes();
    System.out.println(outByte); //OUTPUT : "[B@dc8569"  IS  WRONG  HERE ?
    dos.write(outByte,0,outByte.length);  //pass "am" to server side
    IN SERVER SIDE:
    int num=dis.read(inByte);    //read from client side
    System.out.println("num read : "+num); //OUTPUT:  2
    String inData=new String(inByte);
    System.out.println("inData: "+inData);//OUPUT:  "am" ,
                                                                       //so "am" is successfully passed to server                                                                                           
    String outData=response(inData);     //so how strange this outData is!
    System.out.println("outData: "+outData);//OUTPUT:  "unknown"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Selection in other way to improve performence

    Any body can suggest me how i can write the first selection in another way with the same logic.
    it_date TYPE STANDARD TABLE OF rsdsselopt,
    SELECT bukrs belnr gjahr cpudt cputm aedat awkey
    FROM bkpf INTO TABLE it_bkpf
    WHERE cpudt IN it_date.
    help me to write same select in another form which can suggest for performence.
    Tks.

    Hi,
    I have played with your select trying to improve it. Using bukrs like '%' suggested by Diego did not improved performance in my case. But using standard index with fields bukrs, cpudt, bstat is good idea. If you do not want to create a new secondary index and you can not limit your selection for a concrete BUKRS, the best approach I have found is doing the select this way:
    data: it_date TYPE STANDARD TABLE OF rsdsselopt,
             it_t001 TYPE STANDARD TABLE OF t001,
             wa_t001 TYPE t001.
    SELECT * FROM t001 INTO TABLE it_t001.
    LOOP AT it_t001 INTO wa_t001.
    SELECT bukrs belnr gjahr cpudt cputm aedat awkey
    FROM bkpf APPENDING TABLE it_bkpf
    WHERE bukrs EQ wa_t001-bukrs
          AND cpudt IN it_date.
    ENDLOOP.
    For it_date use only such values which can be transformed to EQ, IN and BETWEEN if possible, so do not use excluding select-options, instead of operand < try to put some lower boundary and use BETWEEN instead.
    Disadvantage of this approach is that select is performed more than once. I was trying to eliminate this disadvantage doiing it this way:
    data: it_date TYPE STANDARD TABLE OF rsdsselopt,
             it_t001 TYPE STANDARD TABLE OF t001.
    SELECT * FROM t001 INTO TABLE it_t001.
    LOOP AT it_t001 INTO wa_t001.
    SELECT bukrs belnr gjahr cpudt cputm aedat awkey
    FROM bkpf INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_t001
    WHERE bukrs EQ it_t001-bukrs
          AND cpudt IN it_date.
    ENDLOOP.
    But when I looked at a execution plan for this select, although FOR ALL ENTRIES was translated using IN operator, no index was used by selection. So, this one did not bring any improvement. But it can be individual and it depends on system, because FOR ALL ENTRIES can be implemented in different way depends on database system, version and system parameters. Maybe you can try to take also this FOR ALL ENTRIES approach and improve it by changing parameters rsdb/prefer_join, rsdb/prefer_union_all, rsdb/prefer_in_itab_opt via hints.
    But I would recommend to use the first approach I have used if it is sufficient improvement.
    You should become more familiar with transaction ST05 and using SQL trace to anlayse database operations.
    Hope it helps.
    Regards,
    Adrian

  • Can we call a method from a adapter class?

    Hi
    I have added KeyAdapter class to a textfield now i want to call a method in the outer class from inside the adapter class. I tried but its showing some error,
    public class A
    A()
    TF1.addKeyListener(new KeyAdapter()
    public void keyReleased(KeyEvent e)
    A a=new A();
    ec.chkSalary();                    
    chkSalary()
    can i call the method like this?

    yeah.. i got it.. i just passed that KeyEvent object to the method
    but i did declare that as a char in that method like,
    chkSalary(e) // e is the KeyEvent reference
    and the method is
    chk(char e);
    thats it.
    thank you yaar.

  • How can I move a selected area in Photoshop Elements 11

    I have upgraded Mac OS to Maverick and can no longer move a selected  area: the area snaps back and doesn't stay where I put it as it did with Yosemite.
    Clare N. Shumway
    [email protected]

    I have also issues with the rectangular marquee tool.
    Once I make a selection the cursors turn to the pointer-+ (add to selection) automatically as if I was pressing the shift key.
    I can only add to selection at this point and can't move the selection or discard it by clicking outside of it.
    Al other marquee tools are fine.
    OSX Yosemite
    Version 10.10 (14A389)
    Mac Pro (Late 2013)
    3.5 GHz 6-Core Intel Xeon E5
    12 GB 1866 MHz DDR3 ECC
    AMD FirePro D300 2048 MB

Maybe you are looking for

  • Tcode : LX16 and Tcode : LI11N

    Hi all, As a part of warehouse management , these transactions are used to carry on continuous inventory and inventory count. My first question is what are these things used for. I have an inbound interface where i am confirming the Transfer order an

  • Preview mode Dreamweaver CS3/CS4 not compatible with Firefox 3.6.8

    I found a post about this issue, which was marked 'solved', but it isn't! To use Firebug, I had to upgrade Firefox and since I did, I can't use the 'preview' function in Dreamweaver (It works only once, when Firefox is closed, but I don't like to clo

  • Should I buy the 4g iPod touch now? April 2012

    Hello. I am looking to buy a new iPod touch, but I need the latest and greatest. Now, here are my speculations: The New iPad just came out, so I don't know when Apple is going to have their next event. I assume theier next even will be in about 2 mon

  • Unicode conversion in sap query

    i need to whether unicode conversion is possible in sap query

  • Tabbing in and out of a Flash component

    I'm not a Flash developer, but I was wondering if any of you could answer a question that I have so that I can pass the info on to my Flash developer. He has created a Flash component to put on one of my HTML pages, but I can't tab in to it from the