Is it possible to create Resuable component in Swing

Can Some one tell me Is it possible to create Resuable component in Swing?
I have around 100 applications and i have to create a common Component and I have to use for this to all 100 Applications.
If possible can u send me code.
Thanks
Mohan Kumar

Hi Prosun Bondopadhyay  ,
               Component controller is the base of a wda component. its can be considered as the base class. all the other views can be considered as the sub classes of component  controller. so without the base class there is no existence for sub class rt?
like we can use all the methods and attributes of a component controller(main class) across all the view(sub class) and the viceversa is not possible.
hence we cannot create a wda without component controller.
Regards
Sarath

Similar Messages

  • Is it possible to create a component without a component controller?

    Hi every one,
    Is it possible to create a component without a component controller?If yes , how and what is the purpose of this?
    Thanks in advance. Points will be rewarded.

    Hi Prosun Bondopadhyay  ,
                   Component controller is the base of a wda component. its can be considered as the base class. all the other views can be considered as the sub classes of component  controller. so without the base class there is no existence for sub class rt?
    like we can use all the methods and attributes of a component controller(main class) across all the view(sub class) and the viceversa is not possible.
    hence we cannot create a wda without component controller.
    Regards
    Sarath

  • Is it possible to create a component that takes two inputs?

    Hi Experts,
    Is it possible to create a custom JSF component that takes two input values and assigns them to a managed bean?
    For example, a component that displays two input boxes?
    The tag would look something like this:
    <my:component value1="#{bean.value1}" value2="#{bean.value2}" />I've tried, but I can't get the values to update the managed bean.
    I'm starting to doubt that it is possible, as their is only 1 setSubmittedValue method :(
    Thank you,
    Ristretto

    Hi Prosun Bondopadhyay  ,
                   Component controller is the base of a wda component. its can be considered as the base class. all the other views can be considered as the sub classes of component  controller. so without the base class there is no existence for sub class rt?
    like we can use all the methods and attributes of a component controller(main class) across all the view(sub class) and the viceversa is not possible.
    hence we cannot create a wda without component controller.
    Regards
    Sarath

  • How to create new component in SWING?

    Hi,
    I created a suggestion box using JTextField and JList. It's working nicely. I would like to Standardize those component into single component. so that i can add whenever i need suggestion box in my project anywhere. Can anyone give me a suggestion to do this?
    - i want to create it like a normal components (JButton, JComboBox and etc). but it consist of two components.
    - i need to create it's own inbuilt listeners like (MouseListeners, KeyListeners). (i can extend the JTextField class and implement KeyListeners in it).
    - i like to add functionality like. (Whenever i type any character, then values for the corresponding characters are fetch from the DB and set into the Model).
    Am just thinking whether i need to paint a component and add some AncestorListener. or else to extends the existing component. Kindly suggest me for this thing. Thanks in advance.
    Regards,
    Mo

    Thanks for your reply WalterLaan. If i use JPanel and i add some components like JTextFeild and i set JList for its Listener. Then it'll works with in the added JPanel. Not in the JFrame.
    i can write Like...
    class MyPanel extends JPanel
    MyPanel()
    super();
    JTextFeild t = new JTextFeild();
    add(t);
    JList l = new JList(new String[]{"1,","2"});
    add(l);
    class frm
    public static void main(String arg[]){
    JFrame jf = new JFrame();
    MyPanel mpl = new MyPanel();
    mpl.setBounds(0,0,100,30);
    jf.add(mpl);
    So i can't able to see the added JList. Right???? How to i create a JList like a PopUp???
    Kindly Guide me to invent new component. Thanks in advance.
    by,
    MO

  • Possible to create a custom renderer for rendering standard component ?

    This is in context for creating dynamic Data tables. Is it possible to create a custom Renderer for rendering component (standard) without creating a custom component?
    namanc

    Let's assume you want to create a custom renderer which will be used to render the error-messages (the h:messages tag). The component-family in this case is: javax.faces.Messages, the renderer-type javax.faces.Messages.
    Therefor in your application's faces-config.xml add this renderer-statement (inside a render-kit, obviuosly):
    <faces-config>
      <!-- other stuff like components, managed beans, navigation-rules,... -->
      <render-kit>
        <renderer>
          <component-family>javax.faces.Messages</component-family>
          <renderer-type>javax.faces.Messages</renderer-type>
          <renderer-class>my.very.special.MessagesRenderer</renderer-class>
        </renderer>
      </render-kit>
      <!-- other renderers... -->
    </faces-config>The code for MessagesRenderer is very dependent on your needs, therefor I will not post something here. Basically you need to extend javax.faces.render.Renderer. For help in that camp, surf to the online tutorials or get yourself a book (I learned a lot from Kito Mann's "JSF in Action"). Additionally grab the source for Sun's RI AND Myfaces and dig into that java-code. There is a huge learning potential looking at that source-material.
    hth
    Alexander

  • Is it possible to know which thread created a component?

    Hi,
    I have two thread running, one of them opened up a model dialog and waits for user interaction. Between, I got a reference to the model dialog object in my second thread and I want to know the thread name which has shown/created this component. Is is possible?
    thanks in advance .............

    If you need it, you can arrange to store it just as you stored the reference to the dialog component itself.
    But why would you need it?

  • Is it possible to create a custom E-mail Notification?

    Dear all,
    We have a requirement where the customer would like an additional email notification in the RFx process which is not available in the E-Sourcing system.
    What they want to do is send an email to Vendors who did not get awarded in the RFx Process and let them know.
    Is it possible to create a custom email notification in any way, perhaps using the javax.mail classes?
    import javax.mail.*;
    import javax.mail.internet.*;
    If anyone has prior experience with this, please let me know. I would appreciate pointers on this.
    Thanks & Regards,
    Reshma

    Hi Thashin,
    I understand you have done custom jar email notification for Transnet. I need to do this now for another component, Task Escalation. please contact me regarding correct way to do this. I have developed the custom java code to access Task info. What I need to know is that, does e-sourcing use its own queing mechanism to send out emails, if so what packages in IAPI does this use, or does it use normal java mail api to send out mails?
    Assistance will be highly appreciated.
    Thanks
    Tebogo

  • Problem creating dynamic component children with RestoreState of JSF 1.2

    Hello everybody,
    With JSF 1.1, it was possible to create children of a component dynamically in the constructor of a component.
    But now, with JSF 1.2, there is an issue with the RestoreState as a new instance of each component of the tree is created.
    Does someone has an idea on how to solve this issue?
    One possibility is to create the children not in the component, but in the renderer of the component.
    But I'm not really convinced of this solution...
    Thank you in advance.
    bgOnline

    You can create a new component dynamically in the method setParent() according to the following code snippet:
    public void setParent(UIComponent parent) {
    if (parent != null) {
    List<UIComponent> children = parent.getChildren();
    Application application = FacesContext.getCurrentInstance().getApplication();
         componentLabel = (HtmlOutputLabel) application
         .createComponent(HtmlOutputLabel.COMPONENT_TYPE);
         componentLabel.setTransient(true);
         children.add(componentLabel);
         } else if (parent == null) {
         if (componentLabel != null) {
         List<UIComponent> children = getParent().getChildren();
              children.remove(componentLabel);
              super.setParent(parent);
         }

  • Need help in finding open source for creating Login component

    hi
    Pls any one help me out in finding some good open source for creating login component for my application
    i have heard about josso but i am not able to find how to use it if anyone can help in setting up josso i wil be very thankful to that person and also if anyone can help me finding some other open source i will be very grateful ,,
    Pls help its very urgent and i am running short of time

    DECODE(l.attribute_category, 'Coverage Template Header', l.attribute3) Penalty_Bonus,
    DECODE(l.attribute_category, 'Coverage Break', l.attribute1) Mon_Break_Start,
    DECODE(l.attribute_category, 'Transaction Type', l.attribute1) Split_Covering,Uh oh, the dreaded entity attibute value, or generic, data model.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:10678084117056
    I am afraid slow performance is a built in feature of this database design, not much you can do in queries.
    You could possibly create the views as materialized views and query those instead.
    Quote from the linked article
    But, how does it perform? Miserably, terribly, horribly. A simple "select
    first_name, last_name from person" query is transformed into a 3-table join with
    aggregates and all. Further, if the attributes are "NULLABLE" - that is, there
    might not be a row in OBJECT_ATTRIBUTES for some attributes, you may have to
    outer join instead of just joining which in some cases can remove more optimal
    query plans from consideration.
    Writing queries might look pretty straightforward, but it's impossible to do in
    a performant fashion.

  • Is it possible to create Adobe Interactive form in ECC 5.0 IDES using WDA?

    Hi every body,
    I am trying to create an adobe interactive form in ECC 5.0 IDES using Web Dynpro for ABAP. But I am facing some configuration problems. My doubt here is -> "Is it possible to create abobe interactive forms in ECC 5.0 IDES using Web Dynpro for ABAP ?"
    Please help me out.
    thanks in advance,
    best regards,
    naveen.

    Hi Naveen,
    ECC 5.0 is NW04 - not NW04s so you don't have WDA at all as you should be able to see from e.g. it not appearing in the list of possible programming objects in transaction SE80.
    You'd need ECC 6.0.
    Double-check your SAP_BASIS release in menu System > Status > Component Information.  If it says 6.40 then that's no good... you need to be on 7.00.
    You can still use Java WebDynpro with ECC 5.0 of course.
    Regards,
    Jocelyn

  • How to create application component in SAP R/3

    Hi gurus,
                 I have created one custom defined master data in SAP R/3.I need to replicate it in BW.So I need to create one application component by own.is it possible to create custom application component instead of assigning it to SAP R/3 application component?.
    Thanks & Regards,
    Bharath

    To my knowledge you cannot create an application component of your own. Assign it to an existing appropriate app component.

  • Creating a component in Flash CS5

    Hi,
    How can I create a component using Flash CS5? I have tried to follow various documents I have found on google and went about it in the following way:
    1. I created an empty FLA.
    2. I created a MovieClip containing some graphics, and named the MovieClip "MyTestComponent" in the Library.
    3. I selected the MovieClip's properties in the Library and selected "Export for Actionscript", and made the MovieClip inherit from fl.core.UIComponent.
    4. I saved the FLA in the directory "C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Components" and restarted Flash. At this point I would expect that the MyTestComponent component would show up in the Components panel, but it did not.
    5. I tried to publish the FLA as an SWC file and place the SWC file in the same file as above. According to my understanding, both this and the step above should have worked, but it did not.
    So, what am I missing?
    Also, where can I find an up-to-date documentation on how to create components to be used in Flash CS5?

    I managed to get it work at the end...
    First, the components directory was at this location:
    C:\Users\<username>\AppData\Local\Adobe\Flash CS5\en_US\Configuration\Components
    Then, to make a component out of a MovieClip, right click on the MovieClip in the library and select "Component Definition" and check the checkbox "Display in Components Panel". What I did then was to right click on the MovieClip and selected export swc file, and saved it in the directory above. This exported only one Component, which was fine for me. Probably it would be possible to do something similar to save a library of components as a .fla or .scw or so, but I don't know the details.

  • Is it possible to create an inbound SOAP Adaptor for an ESB routing service

    I have been given a pre-defined wsdl file that defines the inputs to an ESB service and I wa wondering whether it is possible to create an inbound SOAP adaptor or whether this is actually an outbound adaptor. I am new to SOAP adaptors so need a little bit of guidance.
    Hopefully someone can help.

    Hi,
    In your case you need to create an Routing Service. If you create an esb project you can select Routing Service from the ESB Services entry in the Component Palette. You then get the option Select Existing WSDL. The SOAP adapter is only used for outbound SOAP messages. If you define a routing service it is available as a 'webservice' with a wsdl (in this case the one you define) from the console.
    Kind Regards,
    Andre Jochems

  • It is possible to create something like this in AE?

    Hi, i want to know if its possible to create something like this in AE (not in 3D) but particles that 'builds up' the text in some way? i have a text that is a vector, and the same as PNG, it is possible? Please tell me!

    It's amazing what Google can find:
    Red Giant - RGTV - Sand to Text Transitions
    Something similar from a zillion years ago:
    Flowing Title Effects using Adobe After Effects : Adobe After Effects Tutorial

  • NTLM Authentication : why is it not possible to create more than one NTLM realm ?

    Hello,
    I'm wondering why it is not possible to create more than one NTLM realm on a wsa.
    Can you explain exactly what is the blocking point ?
    Thanks in advance
    Regards

    Well, at this point (pre 7.5), there isn't an agent, the WSA is joined to the domain, just like a Windows box, it authenticates via that trust relationship.  From that point it is all based on how NT/Active Directory domains work.   As long as there is a trust between the domains, you can can auth users from as many domains as you like.
    There is an agent in the works.  The ADAgent will be released with 7.5.  The code is already available, it was released with the ASA ver 8.4, and it will be used to pass authentication info to the WSA.  At this point, current versions still require trust relationships between all of the domains touched.
    Taken from the setup guide: http://www.cisco.com/en/US/docs/security/ibf/setup_guide/ibf10_install.html#wp1054011
    Before you configure even a single domain controller machine using the
    adacfg dc create
    command, ensure that the AD Agent machine is first joined to a domain (for example, domain
    J
    ) that has a trust relationship with each and every domain (for example, domain
    D[i]
    ) that it will monitor for user authentications (through the domain controller machines that you will be configuring on the AD Agent machine).
    Depending on your Active Directory domain structure, the following scenarios are possible:
    1. Single Forest, Single Domain—There is only one domain, D[i] for all domain controller machines, which is one and the same as domain J. The AD Agent machine must first be joined to this single domain, and since no other domains are involved, there is no need to configure any trust relationship with any other domain.
    2. Single Forest, Multiple Domains—All the domains in a single forest already have an inherent two-way trust relationship with each other. Thus, the AD Agent must first be joined to one of the domains, J, in this forest, with this domain J not necessarily being identical to any of the domains D[i] corresponding to the domain controller machines. Because of the inherent trust relationship between domain J and each of the domains D[i], there is no need to explicitly configure any trust relationships.
    3. Multiple Forests, Multiple Domains—It is possible that domain J might belong to a forest that is different than the forest to which one or more of the domains D[i] corresponding to the domain controller machines belong. In this case, you must explicitly ensure that each of the domains D[i] has an effective trust relationship with domain J, in at least one of the following two ways:
    a. A two-way external trust relationship can be established between the two domains, D[i] and J
    b. A two-way forest trust relationship can be established between the the forest corresponding to domain D[i] and the forest corresponding to domain J

Maybe you are looking for

  • How do i get my mp3 file to open in garageband?

    how do i get my mp3 file to open in garageband?

  • Printing poster sizes in Keynote--HELP

    Hi My clients are creating posters in keynote at 50% of the final poster size. I need to print them at 200% but I can not get them to print that way. The paper comes out the right size but the poster is only at the page size-- such as a 22 x 22 inch

  • Puting buttons in the appl bar with alv reporting

    hai im trying to put buttons in alv in  applctn bar the coding i made is perform eventtab. form eventtab. wa_event-name='set_pf_status'. wa_event-form = 'status'. append wa_event to tab_event. endform. form status. set pf-status 'ystatus'.---- >statu

  • New version of Numbers v. 1.0.2

    Today a new version of Numbers came out, version 1.0.2. Software update didn't give much detail: "This update addresses compatibility with Mac OS X." Anyone know what changed?

  • Help! database mirroring ?

    Hi All, i am using oracle 10g, my concern is the if the database(1st) crashes my application may not work, so i need to have another database(2nd) with the same database structure as the 1st one. whatever changes i make to the 1st database to changes