Where Do I find the sources of dt.jar BeanInfo classes ?

Hi all,
I would like to investigate the sources of the file dt.jar that is bundled with JDK ... I'm interested in the *BeanInfo classes that it has. Does someone know where can I find them ?
Thank you very much
Marcos
Message was edited by:
marcossoft

There isn't such a class. BeanInfo instances are
generated for classes. Are you sure you understand
what BeanInfo is for? It describes a class, not an
instance of that classSo what's this (found inside of dt.jar) ?
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 1/6/2007 07:50:16
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name:   JButtonBeanInfo.java
package javax.swing;
import java.awt.Image;
import java.beans.BeanDescriptor;
import java.beans.PropertyDescriptor;
import sun.swing.BeanInfoUtils;
// Referenced classes of package javax.swing:
//            SwingBeanInfoBase, JButton
public class JButtonBeanInfo extends SwingBeanInfoBase
    public JButtonBeanInfo()
    public BeanDescriptor getBeanDescriptor()
        return BeanInfoUtils.createBeanDescriptor(classJButton, new Object[] {
            "preferred", Boolean.TRUE, "isContainer", Boolean.FALSE, "shortDescription", "An implementation of a \"push\" button."
    private PropertyDescriptor createPropertyDescriptor(String s, Object aobj[])
        return BeanInfoUtils.createPropertyDescriptor(classJButton, s, aobj);
    public PropertyDescriptor[] getPropertyDescriptors()
        return (new PropertyDescriptor[] {
            createPropertyDescriptor("UIClassID", new Object[] {
                "bound", Boolean.FALSE, "expert", Boolean.TRUE, "shortDescription", "A string that specifies the name of the L&F class."
            }), createPropertyDescriptor("accessibleContext", new Object[] {
                "bound", Boolean.FALSE, "expert", Boolean.TRUE, "shortDescription", "The AccessibleContext associated with this Button."
            }), createPropertyDescriptor("defaultButton", new Object[] {
                "bound", Boolean.FALSE, "shortDescription", "Whether or not this button is the default button"
            }), createPropertyDescriptor("defaultCapable", new Object[] {
                "bound", Boolean.TRUE, "visualUpdate", Boolean.TRUE, "shortDescription", "Whether or not this button can be the default button"
    public Image getIcon(int i)
        switch(i)
        case 2: // '\002'
            Image image = loadImage("beaninfo/images/JButtonColor32.gif");
            return image != null ? image : loadImage("beaninfo/images/JComponentColor32.gif");
        case 1: // '\001'
            Image image1 = loadImage("beaninfo/images/JButtonColor16.gif");
            return image1 != null ? image1 : loadImage("beaninfo/images/JComponentColor16.gif");
        case 4: // '\004'
            Image image2 = loadImage("beaninfo/images/JButtonMono32.gif");
            return image2 != null ? image2 : loadImage("beaninfo/images/JComponentMono32.gif");
        case 3: // '\003'
            Image image3 = loadImage("beaninfo/images/JButtonMono16.gif");
            return image3 != null ? image3 : loadImage("beaninfo/images/JComponentMono16.gif");
        return super.getIcon(i);
    private static final Class classJButton = javax/swing/JButton;
}I think all gui designers find somewhere such BeanInfo information. I just want the sources of them without using some sort of decompilation .... I know the function of BeanInfo it describes a javabeans and its inherent properties ... PropertyEditor and so on .... I just want the sources
Thanks

Similar Messages

  • Where can I find the source code of the sshr workflow source file?

    Dear all:
    Where can I find the source code of the sshr workflow?
    Regards
    Terry

    Dear all:
    I found the answer, usually the workflow of the self-service 4.1 is HRSSA
    Regards
    Terry

  • Where can I find the javadocs for HTTPClient.jar

    Hi,
    Where can I find the javadocs for HTTPClient.jar shipped with the WLP4.0.
    Does this support https?
    Thanks
    Dalia

    In the API Reference we can get the Java Docs for the classes you looking for.
    As per previous post the reference link is http://download.oracle.com/docs/cd/E22630_01/Platform.1002/apidoc/index.html

  • Where do I find the source list in iTunes 7

    I know this sounds stupid, but I can't find the Source List! I lost my hard drive, put in a new one and reloaded iTunes, but have not reloaded all my CDs. I want to set iTunes so it will not synch up with my iPod and delete all the songs that are on the iPod, but not on iTunes. But, I see nothing labeled Source List. Where is it? Must my iPod be plugged in for it to show up -and- if it is, will I lose the music on the iPod, but not on iTunes?

    You can create a smart playlist with the rule Kind is MPEG audio file.
    tt2

  • Where can I find  the source code of cachedrowset

    I want to read the source codes of cachedrowset and other classes in rowset.jar .
    where can I find it?
    thanks

    download rowset.jar a JAVA Decompiler tool , for example cavaj,then get the source code

  • Where can I find the source code of Java web start demos program?

    When I watch these demos, I think this program is very good to start to learn Java. Is there anywhere to find the source code?

    By trawling the approprite forum
    http://forum.java.sun.com/forum.jsp?forum=38

  • Where can I find the javadoc api for JavaConcurrentProgram related classes

    Hello,
    I am new to Oracle EBS. I want to use Java Concurrent Program. I found a few links how to write the program. But I could not find the java doc for the classes that are used, for example, JavaConcurrentProgram, CpContext etc. Would someone please tell me where I can find the javadoc api for those classes? And also where do the corresponding jar file/files reside on the server?
    thanks.

    Hello, Ajay,
    I read both of metalinks before. One is example and the other is FAQ. None of them have link to the javadoc api for the JavaConcurrentProgram related classes. I am looking for the javadoc api for the classes related to the java concurrent program. I did find some javadoc api for class like oracle.apps.fnd.common.Context from jdeveloper. But I could not find any javadoc api for oracle.apps.fnd.cp.request.* and oracle.app.fnd.util.* etc.

  • Where can i find the source code of java media

    I find anywhere from internet,the Java media's source code was very few,who can tell me where can find the java media's code.
    thanks a lot

    Check this out:
    http://www.sun.com/software/communitysource/download.html

  • HT5129 where do I find the source list?

    for iPhotos to have my Mobile Me albums transferred.

    There are no Mobile Me albuims any more.  MobileMe was discontinued 2 years ago. So not sure what exactly you're referring to.
    As for the left hand source pane in iPhoto move the cursor slowly to the left hand edge until it turns into this:
    Then click and drag to the right.
    If that fails delete do the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.
    OT

  • Where can I find the source of jdk native method

    I only find the define in the jdk source

    Huh?
    'define' is a preprocessor keyword. A C declaration (not definition) defines the prototype for a C method.
    If you want to look at the jdk source (C method definitions) then you can download some of the jdk versions from the sun site under the 'developer connection' link.
    If that isn't what you are talking about the explain it in more detail.

  • Finding the source code from Jar file

    Hi,
    I am a beginner java programmer but have been entrusted with learning our company's Java application. The architect of the application is not forthcoming in sharing information and so I need help in tracing the source code for the application. I know where the .jar files are stored but I don't know where the actual .java or .class files are stored.
    In the .profile file, I see the classpaths set to various jar files. eg.
    CLASSPATH=$PATH:/eaid01_apps/merc01/libs/tools/java/drivers/bin/eaiRun.jar
    When I view this jar file with command "jar tf eaiRun.jar", it displays all the files under it. Onc such listing is as following:
    citi/eai/EAI.class
    citi/eai/Interface.class
    I want to go to that specific directory on our file system which is storing these .class or.java file. From what I have learned about packages, I should find some folder called 'citi' ,'eai'.
    However I am not able to find these folders anywhere on file system. Is there a way I can find where the actual souce code is by looking at the jar files.
    Please help. Let me know if you need more information.
    thanks,
    Anand.

    Is there a way I can find where the actual souce code is by looking at the jar files.No, in general you can't, you should ask the architect that you mentioned earlier. The name of the source file is sometimes stored in the .class file for debugging purposes but that's unlikely going to help you find the files.
    You should also ask if he/she has got any documentation of the system. It's often a lot easier to follow documentation written in human language than program code written in a programming language. There could be documentation in a format similar to this: http://java.sun.com/j2se/1.4.2/docs/api/

  • Where can I find the source of any version of TCMRuntimeManager.as?

    I'm getting errors from it. I suspect there's a bug. I want to know how it behaves so I can work-around the faulty behaviour with more confidence          .

    You'd need to decompile tlfRuntime.swc as it's a TLF library. I'm not sure doing that is very wise but that's where it lives. Example locations of that SWC:
    Flash CC Windows:
    C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\TLFConversion\tlfRuntime.swc
    Flash CS6:
    C:\Program Files (x86)\Adobe\Adobe Flash CS6\Common\Configuration\ActionScript 3.0\libs\tlfruntime.swc
    It's worth noting TLFTextFields are depreciated so if you're having issues with TLFTextFields then converting back to TextField isn't a bad option going forward.

  • Where can I find the source code of java.*?

    Hey guy
    Is there any way I can get the code of the classes under java.*?
    Some of the javadocs online are not quite clear to me,
    so I hope I can check the code directly instead of looking at the javadocs
    Thanks!

    A word of warning: the java.* classes do NOT necessarily represent best/current software engineering practices in general. Some classes have been extensively optimized at the expense of readability/clarity of the code, while others represent specific/peculiar implementations of software patterns that are the result of historic baggage.
    In general, any time you use "but that's how it's done in this or that java.* class" as an argument in a discussion, you'll likely lose.
    (note that this does not mean the java.* classes are rubbish, just that they don't necessarily make a good example to learn from)

  • Where can i find the utility source of  "Dynamic LOVs" White Paper ?

    I downloaded this white paper :-
    http://www.oracle.com/technology/products/forms/pdf/10g/community_paper_generic_lov.pdf
    and its title is :
    Oracle Forms 10g – Dynamic LOVs
    The problem here is that I can't find the The utility source :-
    • COLORS.PLL
    • LOV.PLL
    • GEN_LOV.FMB
    • INIT_LOV.FMB
    • TEST_LOV.FMB
    does anyone have any idea where can i find the Source ?!
    please i want specific link , not like that exist in the white paper :-
    {The utility sources can be downloaded from the Oracle Technology Network (OTN1).}

    Francois Degrelle wrote:
    On the same page .........Despite fact that I don't know what page you are talking about - because the pdf file that I was talking about I downloaded it directly from Google - but I'm really grateful very much for you Francois.

  • Find the source of a free characteristic (BI)

    Dear Experts,
    I would like to ask whether & where I can find the source field in CO-PA of a Free Characteristics field of BI.
    For ex. there is a free characteristic in BI (BW Portal) named "Commision Recipient" where I choose for reporting & this field is relevant to a partner function of the same name ("Commision Recipient") where I  can choose & use while creating a sales order BUT I want to find & know which is the equivalent & relevant to these fields, CO-PA field & which is the relevant CO-PA posting where it is displayed.
    Great Thanks in advance for your help.!!!
    Kind Regards
    George

    Hi,
    I am proposing Kevin's answer because he gave you right information although help for such topic is beyond scope of this particular forum. This forum deals with data tools
    Thanks for understanding
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

Maybe you are looking for

  • How can i split a long video in an iMovie event ?

    Hello, I have imported some old family films that were on small VHS tapes via an acquisition box (sorry for the bad english) model Elgato Video Capture. On these tapes there are films that somtimes are several months appart (for exemple tape "1989 -

  • Attaching files to a PDF form and Submission.

    I'm pretty new to LC (hence the sn) and running into a little problem.  Currently, I have created a form that allows the attachment of files.  Everything is fine and dandy as I am able to ADD, OPEN and DELETE any file as I'm filling out the form.  Ho

  • 1:N Idoc mapping and Ack

    Dear Experts We have folowing requirement Web Service to IDoc -> Webservice will contain multiple records -> For each record one IDoc is to be generated -> Idoc should be sent to ECC system in such a manner that the second IDoc should be sent only af

  • Best CS4 online training

    Hi everyone, I am new to CS4 but have just purchased photoshop, dreamweaver, Illustrator, etc...because I want to create a website from scratch. I have built websites before using front-end applications but have never had full access to the source co

  • Class-map with ACL rule

    In the following class-map: "class-map match-any voice match access-group 190" If the ACL 190 has more than one line with "permit" statements. In order for the policy-map using the above class-map to find a match and use the rules applied for the abo